Function at 0x415390
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aed05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4154fb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x4154d7
mov dword [ebp - 0x54], 0x5bcd
mov dword [ebp - 0x7c], str.zruagvc_gjqe_lrg_wbfby_goqndv_dbf_onuk
cmp dword [ebp - 0x54], 0x5c89
jle 0x41548b
and dword [ebp - 0x3c], 0
jmp 0x415409
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x2f3e
jge 0x41548b
and dword [ebp - 0x24], 0
jmp 0x41541f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6ac1
jge 0x415486
and dword [ebp - 0x44], 0
jmp 0x415435
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x7ecf
jge 0x415484
and dword [ebp - 0x2c], 0
jmp 0x41544b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4c16
jge 0x415482
mov eax, dword [ebp - 0x3c]
cdq
idiv dword [ebp - 0x24]
xor edx, dword [ebp - 0x44]
or edx, dword [ebp - 0x2c]
mov eax, edx
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
mov ecx, 0xae0558
call fcn.00441f36
jmp 0x415444
jmp 0x41542e
jmp 0x415418
jmp 0x415402
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
and dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0x5a53
jge 0x4154af
mov edx, dword [ebp - 0x7c]
mov ecx, 0xae0558
call fcn.004438dc
jmp 0x4154cb
or dword [ebp - 4], 0xffffffff
jmp 0x4154d5
jmp 0x4154f6
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x6c], eax
push 2
mov ecx, dword [ebp - 0x6c]
call fcn.00442139
or dword [eax], 0xffffffff
jmp 0x4157b7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x41556d
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x41554b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 4
jge 0x415568
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.00442139
mov dword [eax], 1
jmp 0x415540
jmp 0x4157b7
mov dword [ebp - 0x4c], 0x3b08
mov dword [ebp - 0x78], str.jwyc_wbzoc_hnnf_frq_lwj_mqyvzo_fnwodske_muahfrhv_ysskt_jipndyd_omj
cmp dword [ebp - 0x4c], 0x3de3
jle 0x41561c
and dword [ebp - 0x1c], 0
jmp 0x415595
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3063
jge 0x41561c
and dword [ebp - 0x34], 0
jmp 0x4155ab
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xd90
jge 0x415617
and dword [ebp - 0x20], 0
jmp 0x4155c1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4d2e
jge 0x415615
and dword [ebp - 0x28], 0
jmp 0x4155d7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4016
jge 0x415613
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov ecx, 0xae0558
call fcn.00441f36
jmp 0x4155d0
jmp 0x4155ba
jmp 0x4155a4
jmp 0x41558e
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x415774
mov dword [ebp - 0x50], 0x5ef1
mov dword [ebp - 0x70], str.xytsmzup_gisrphjm_ksjkc_fpw_iqp_udhxhc_meq_pibsh_buuyh_jdevunwkj_tvgidt_emzeo_iit
cmp dword [ebp - 0x50], 0x615d
jle 0x415709
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
and dword [ebp - 0x48], 0
jmp 0x41565a
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x5d0a
jge 0x415709
and dword [ebp - 0x30], 0
jmp 0x415674
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x303b
jge 0x415704
and dword [ebp - 0x38], 0
jmp 0x41568e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x494d
jge 0x4156ff
and dword [ebp - 0x40], 0
jmp 0x4156a4
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x556
jge 0x4156fd
mov eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0x38]
add edx, dword [ebp - 0x40]
or edx, dword [ebp - 0x48]
mov eax, edx
cdq
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
lea ecx, [ebp - 0xb8]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0xb8]
call fcn.00441f21
jmp 0x41569d
jmp 0x415687
jmp 0x41566d
jmp 0x415653
push 0x68c
push 0x1e15
push 0x1adf
push 0x136c
push 0x25b3
push 0
push 0
push 0
push 0
push 0x359
call dword [sym.imp.USER32.dll_DrawStateW]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x50], 0x5c88
jge 0x41574e
push dword [ebp - 0x70]
call fcn.00499008
pop ecx
jmp 0x41576a
or dword [ebp - 4], 0xffffffff
jmp 0x415774
mov dword [ebp - 4], 4
cmp dword [ebp - 0x4c], 0x380c
jge 0x415791
mov edx, dword [ebp - 0x78]
mov ecx, 0xae0558
call fcn.004438dc
jmp 0x4157ad
or dword [ebp - 4], 0xffffffff
jmp 0x4157b7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret