Function at 0x4056c7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aec3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x405a37
lea eax, [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x40], 0x5c95
mov dword [ebp - 0x50], str.yeaibgf_pul_bkyjrl_rsegu_qvqspck_ryimabkve_lyfjixlq
cmp dword [ebp - 0x40], 0x5ce5
jle 0x4057d6
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and dword [ebp - 0x28], 0
jmp 0x405738
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5d88
jge 0x4057d6
and dword [ebp - 0x30], 0
jmp 0x405752
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x7bb1
jge 0x4057d1
and dword [ebp - 0x38], 0
jmp 0x405768
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x4d1f
jge 0x4057cc
and dword [ebp - 0x20], 0
jmp 0x40577e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6049
jge 0x4057ca
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
shl eax, cl
xor eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x9c]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.00441f21
jmp 0x405777
jmp 0x405761
jmp 0x40574b
jmp 0x405731
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x4059d9
mov dword [ebp - 0x4c], 0x38dd
mov dword [ebp - 0x58], str.vcmdm_nxgkvja_bhqpa_ohcmmui_vzug_xwxmxmsln_dkiktfty_fmu_naguyegg_xnbkrid_prvttt_rjme_kycgpgba_kegkld
cmp dword [ebp - 0x4c], 0x3c1f
jle 0x405864
and dword [ebp - 0x18], 0
jmp 0x405808
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1d0c
jge 0x405864
and dword [ebp - 0x1c], 0
jmp 0x40581e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1237
jge 0x405862
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xb4]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.00441f21
jmp 0x405817
jmp 0x405801
mov byte [ebp - 0x11], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0x36f8
jge 0x40587e
push dword [ebp - 0x58]
call fcn.00499008
pop ecx
jmp 0x40589a
or dword [ebp - 4], 0xffffffff
jmp 0x4058a4
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x4058b7
push 0xdb5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x48], 0x40a1
mov dword [ebp - 0x7c], str.sub_zcwo_deheksrcw_iwvwvav_dpnpwuvj_kve
cmp dword [ebp - 0x48], 0x4465
jle 0x405998
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
and dword [ebp - 0x24], 0
jmp 0x4058eb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3b8
jge 0x40598b
and dword [ebp - 0x2c], 0
jmp 0x405905
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6406
jge 0x405986
and dword [ebp - 0x34], 0
jmp 0x40591b
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x3812
jge 0x405981
and dword [ebp - 0x3c], 0
jmp 0x405931
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x15ba
jge 0x40597f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
sar eax, cl
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x3c]
shl eax, cl
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0xcc]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0xcc]
call fcn.00441f21
jmp 0x40592a
jmp 0x405914
jmp 0x4058fe
jmp 0x4058e4
push 0
push 0x64f
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x48], 0x3edd
jge 0x4059b1
push dword [ebp - 0x7c]
call fcn.00499008
pop ecx
jmp 0x4059cd
or dword [ebp - 4], 0xffffffff
jmp 0x4059d7
jmp 0x4059f6
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x40], 0x59d7
jge 0x405a0f
push dword [ebp - 0x50]
call fcn.00499008
pop ecx
jmp 0x405a2b
or dword [ebp - 4], 0xffffffff
jmp 0x405a35
jmp 0x405a5d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
push 0x76e6
push 0xdb2
push dword [ebp - 0x80]
push dword [ebp - 0x54]
push 1
call fcn.0040313a
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret