Function at 0x496f0f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x4972e5
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x4972d8
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x28], 0x6b34
mov dword [ebp - 0xbc], str.had_jelw_tpqvfsynw_cyqs_xlhmudot_wzjh_gawlar_bpo_gpr_hsobe_njtvyv
cmp dword [ebp - 0x28], 0x6e20
jle 0x4970cb
and dword [ebp - 0x20], 0
jmp 0x49700f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2b11
jge 0x4970bf
and dword [ebp - 0x18], 0
jmp 0x497029
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x479f
jge 0x4970ba
and dword [ebp - 0x1c], 0
jmp 0x497043
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6173
jge 0x4970b5
and dword [ebp - 0x24], 0
jmp 0x497059
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x79a9
jge 0x4970b3
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0x24]
sub eax, ecx
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
lea ecx, [ebp - 0xf0]
call fcn.00401a48
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b047
push eax
call fcn.004af8e7
pop ecx
lea ecx, [ebp - 0xf0]
call fcn.0040b03d
jmp 0x497052
jmp 0x49703c
jmp 0x497022
jmp 0x497008
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc4], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x6b20
jge 0x4970ed
push dword [ebp - 0xbc]
call fcn.004af8e7
pop ecx
jmp 0x497109
or dword [ebp - 4], 0xffffffff
jmp 0x497113
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x4972ad
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
jmp 0x4971dc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x4972ab
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0xa8], 2
mov dword [ebp - 0xc0], 0x39fa4ee4
push 0x66ab
push 0
push dword [ebp - 0x34]
push 0x2180
push dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
push 0
push 1
push 0x5bd4
push 0x6ceb
push 0x5759
push 0x1311
push dword [ebp - 0x3c]
push dword [ebp - 0x14]
call fcn.0047fb1c
add esp, 0x3c
push 0
push dword [ebp - 0xa0]
push 0x359
push 1
push 0x62d
lea eax, [ebp - 0x30]
push eax
push 0x5c1
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push 0
push dword [ebp - 0x34]
push 1
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xb0]
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0xb8]
push 0x7e76
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0xc8]
push dword [ebp - 0x14]
push 0x2dcc
call fcn.00492647
add esp, 0x58
jmp 0x4971d1
jmp 0x4972d6
push 0x2076
push 0xf72
push 0x4c9
push 0x2682
push 0x21f3
push 0x2484
push 0x25d8
call dword [sym.imp.GDI32.dll_RoundRect]
jmp 0x4972e3
push 1
push 1
call fcn.0047f346
pop ecx
pop ecx
jmp 0x4972f9
push 0x27bf
push 0x1710
push 1
call fcn.00475b29
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret