Function at 0x401a50
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
sub esp, 0xf74
mov eax, dword [esp + 0xf78]
mov cx, word [0x40b088]
push ebx
push ebp
mov bl, byte [eax]
push esi
push edi
mov word [esp + 0x280], cx
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x282]
mov edx, dword [str._u__apC]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x40b1b4]
mov ecx, 0x3f
mov dword [esp + 0x7c], eax
xor eax, eax
lea edi, [esp + 0x80]
mov dword [esp + 0x78], edx
rep stosd dword es:[edi], eax
xor ecx, ecx
mov edx, dword [str.Oqnfq_lEhkdr]
mov dword [esp + 0x41], ecx
mov byte [esp + 0x40], al
mov dword [esp + 0x45], ecx
mov eax, dword [0x40b1a4]
mov dword [esp + 0x49], ecx
mov dword [esp + 0x20], edx
mov dl, byte [0x40b1ac]
mov dword [esp + 0x4d], ecx
mov word [esp + 0x51], cx
mov dword [esp + 0x24], eax
mov byte [esp + 0x53], cl
mov ecx, dword [0x40b1a8]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], dl
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x54], bl
je 0x401b20
mov al, byte [esp + edx + 0x20]
lea edi, [esp + 0x20]
inc al
or ecx, 0xffffffff
mov byte [esp + edx + 0x20], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x401b03
lea eax, [esp + 0x17c]
push 0x103
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x401b8e
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x17c], 0x5c
je 0x401bf5
mov edi, 0x40b19c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x17c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x401bf5
mov edi, str.ce_alobaa1win123_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x17c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, 0x72
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x17d], 0x3a
mov byte [esp + 0x17f], 0x70
mov byte [esp + 0x180], al
mov byte [esp + 0x182], 0x67
mov byte [esp + 0x183], al
mov byte [esp + 0x18b], al
mov byte [esp + 0x18c], 0x61
mov byte [esp + 0x18d], al
mov ecx, dword [str.vhmq_q_q_q_dwd]
mov edx, dword [0x40b17c]
mov eax, dword [0x40b180]
mov dword [esp + 0x30], ecx
mov cx, word [0x40b184]
mov dword [esp + 0x34], edx
mov dl, byte [0x40b186]
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], cx
mov byte [esp + 0x3e], dl
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401c57
mov al, byte [esp + edx + 0x30]
lea edi, [esp + 0x30]
inc al
or ecx, 0xffffffff
mov byte [esp + edx + 0x30], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x401c3a
lea eax, [esp + 0x30]
lea ecx, [esp + 0x17c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 7
mov esi, 0x40b158
lea edi, [esp + 0x58]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401cab
mov al, byte [esp + edx + 0x58]
lea edi, [esp + 0x58]
inc al
or ecx, 0xffffffff
mov byte [esp + edx + 0x58], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x401c8e
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x58]
movsx edx, bl
push edx
lea ecx, [esp + 0x82]
push eax
push ecx
call ebp
mov edx, dword [esp + 0xf98]
add esp, 0xc
lea eax, [esp + 0x680]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov al, 0x68
mov byte [esp + 0x9b], al
mov byte [esp + 0x9e], al
mov cl, 0x54
mov al, 0x69
mov byte [esp + 0x9d], cl
mov byte [esp + 0xa1], cl
mov byte [esp + 0x9f], al
mov byte [esp + 0xa5], al
lea ecx, [esp + 0x10]
mov bl, 0x2d
mov al, 0x65
push ecx
mov byte [esp + 0x9e], bl
mov byte [esp + 0xa0], 0x70
mov byte [esp + 0xad], 0x20
mov byte [esp + 0xa4], 0x73
mov byte [esp + 0xa6], 0x77
mov byte [esp + 0xa7], 0x30
mov byte [esp + 0xa8], 0x50
mov byte [esp + 0xaa], al
mov byte [esp + 0xab], 0x63
mov byte [esp + 0xac], al
mov byte [esp + 0xae], 0
call esi
lea edx, [esp + 0x10]
push edx
call esi
mov esi, dword [0x40b5a6]
mov eax, 0x6719f361
mul esi
mov ecx, esi
mov eax, esi
sub ecx, edx
mov esi, 0x16d
shr ecx, 1
add ecx, edx
xor edx, edx
div esi
mov eax, 0x88888889
mov byte [esp + 0x40], bl
shr ecx, 8
mov byte [esp + 0x41], 0x74
mov byte [esp + 0x42], 0x61
mov edi, edx
mul edi
mov esi, edx
mov eax, edi
xor edx, edx
mov edi, 0x1e
div edi
mov ax, word [esp + 0x16]
shr esi, 4
cmp ax, dx
ja 0x401dda
add ax, di
mov di, word [esp + 0x12]
dec di
jmp 0x401ddf
mov di, word [esp + 0x12]
sub ax, dx
cmp di, si
mov word [esp + 0x16], ax
ja 0x401df5
add di, 0xc
dec word [esp + 0x10]
sub word [esp + 0x10], cx
sub di, si
cmp di, 2
mov word [esp + 0x12], di
jne 0x401e15
cmp ax, 0x1c
jbe 0x401e15
mov word [esp + 0x16], 0x1c
mov eax, dword [esp + 0x16]
mov ecx, dword [esp + 0x12]
mov edx, dword [esp + 0x10]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x4f]
push str._04d_02d_02d
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x17c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesA]
lea edx, [esp + 0x17c]
lea eax, [esp + 0x280]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x280]
push ecx
push edx
call esi
lea eax, [esp + 0x40]
lea ecx, [esp + 0x280]
push eax
push ecx
call esi
lea edx, [esp + 0x680]
lea eax, [esp + 0x280]
push edx
push eax
call esi
lea ecx, [esp + 0x280]
push 0x40b054
push ecx
call esi
mov edx, dword [esp + 0x54]
push edx
call fcn.00401150
add esp, 4
push eax
lea eax, [esp + 0x284]
push eax
call esi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x786]
mov word [esp + 0x784], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x784]
push 0x3ff
stosw word es:[edi], ax
push ecx
lea edi, [esp + 0x288]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x288]
push ecx
push edx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xf90]
lea ecx, [esp + 0x784]
push eax
push 0
push ecx
call fcn.004017a0
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf74
ret