Function at 0x410a55
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x410c6d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x410c25
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x410b0c
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x11]
push eax
push 0
push 0x67cb
push 0x3000
push 1
push 0x21f2
push 0x4d1d
push 0x4c12
push 0x1977
push 0
push 1
push 0x408a
push 1
push 0x4b6c
call fcn.00413f0a
add esp, 0x38
jmp 0x410c23
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x410c23
mov dword [ebp - 0x28], 0x42d8
mov dword [ebp - 0x4c], str.wfaxzgmih_cnvfb_vsoir_itlhcz_fioargtmx_yenzqq_ypkd_esqo_ukexu_osawjmv_ivwt_zdyehfli
cmp dword [ebp - 0x28], 0x45c2
jle 0x410bdb
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebp - 0x18], 0
jmp 0x410b56
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6e8e
jge 0x410bcf
and dword [ebp - 0x1c], 0
jmp 0x410b6c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6a6c
jge 0x410bcd
and dword [ebp - 0x20], 0
jmp 0x410b82
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2467
jge 0x410bcb
and dword [ebp - 0x24], 0
jmp 0x410b98
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5562
jge 0x410bc9
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov ecx, 0xab56b8
call fcn.00435439
jmp 0x410b91
jmp 0x410b7b
jmp 0x410b65
jmp 0x410b4f
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x42ca
jge 0x410bfd
mov edx, dword [ebp - 0x4c]
mov ecx, 0xab56b8
call fcn.004371ef
jmp 0x410c19
or dword [ebp - 4], 0xffffffff
jmp 0x410c23
jmp 0x410c6b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x410c54
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x410c52
push 0x1c2c
call dword [sym.imp.GDI32.dll_UpdateColors]
jmp 0x410c6b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x410cb3
lea eax, [ebp + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x410c9d
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
push 1
push 0x2b63
call fcn.004090cf
add esp, 0xc
jmp 0x410cb3
push 0x6975
push 0x55d6
push 1
push 1
call fcn.00401d53
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret