Function at 0x482f0b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x482fbd
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x482f4a
push 1
call fcn.00483127
pop ecx
jmp 0x482fb8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x482fb0
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]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x482f94
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 3
jge 0x482fae
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.00450e1d
or dword [eax], 0xffffffff
jmp 0x482f89
jmp 0x482fb8
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x483122
mov dword [ebp - 0x10], 0x15252cb1
mov dword [ebp - 0x50], 7
push 3
lea ecx, [ebp - 0x70]
call fcn.00450d2f
mov dword [ebp - 0x1c], 0xc3d0
mov dword [ebp - 8], 0
jmp 0x482fec
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x482fff
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x7c], 1
jmp 0x482fe5
mov dword [ebp - 8], 0
jmp 0x48300f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x483028
push dword [ebp - 8]
lea ecx, [ebp - 0x70]
call fcn.00450e1d
mov dword [eax], 0x76c51653
jmp 0x483008
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x48303a
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x10], 2
jmp 0x48304a
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x483112
mov dword [ebp - 0x48], 0xfffffff6
mov dword [ebp - 0x54], 0xdafbbd0a
mov dword [ebp - 0x4c], 0x87c7ab89
mov dword [ebp - 0x14], 0
jmp 0x483079
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x48308c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x64], 0xfffffff6
jmp 0x483072
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x64], 0
jmp 0x4830b1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x64], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 2
jg 0x4830ce
mov dword [ebp - 0x58], 7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x48309c
push 2
lea ecx, [ebp - 0x70]
call fcn.00450e1d
mov esi, dword [ebp - 0x48]
push 0
lea ecx, [ebp - 0x70]
call fcn.00450e1d
imul esi, dword [eax]
cmp esi, dword [ebp - 0x10]
jl 0x4830f6
mov dword [ebp - 0x18], 1
jmp 0x4830fa
and dword [ebp - 0x18], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp + eax - 0x64], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
jmp 0x483043
lea ecx, [ebp - 0x70]
call fcn.00450e01
push 0
call fcn.0047aa20
pop ecx
pop esi
mov esp, ebp
pop ebp
ret