Function at 0x10063d52
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009074f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10063e72
lea eax, [ebp + 0xc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x10063da1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
jmp 0x10063e6d
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x6c], 0x1b52
mov dword [ebp - 0x88], 0x1000d404
cmp dword [ebp - 0x6c], 0x1c40
jle 0x10063e48
and dword [ebp - 0x20], 0
jmp 0x10063dd0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x69cf
jge 0x10063e48
and dword [ebp - 0x2c], 0
jmp 0x10063de6
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7385
jge 0x10063e46
mov eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x10c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.100252df
jmp 0x10063ddf
jmp 0x10063dc9
lea eax, [ebp - 0x15]
push eax
push 1
push 0
call fcn.1006ddc2
add esp, 0xc
cmp dword [ebp - 0x6c], 0x19d2
jge 0x10063e6d
push dword [ebp - 0x88]
call fcn.1008287d
pop ecx
jmp 0x1006428e
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x10063eb9
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x1006428e
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x58], 0x3d88
mov dword [ebp - 0xa0], 0x1000d430
cmp dword [ebp - 0x58], 0x4015
jle 0x10063f7d
and dword [ebp - 0x24], 0
jmp 0x10063efc
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5848
jge 0x10063f7d
and dword [ebp - 0x28], 0
jmp 0x10063f12
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3638
jge 0x10063f78
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x124]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x124]
call fcn.100252df
jmp 0x10063f0b
jmp 0x10063ef5
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0x58], 0x3b46
jge 0x10063f9e
push dword [ebp - 0xa0]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x8065
jge 0x10063ff3
mov dword [ebp - 0x40], 1
jmp 0x10063ff7
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jg 0x1006400a
mov dword [ebp - 0x34], 1
jmp 0x1006400e
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
jne 0x10064024
mov dword [ebp - 0xc4], 1
jmp 0x1006402b
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jl 0x10064257
push 1
lea ecx, [ebp - 0x7c]
call fcn.100254f9
and dword [ebp - 4], 0
mov dword [ebp - 0x54], 0x7c264f89
mov dword [ebp - 0x8c], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
push 0x24c6
push 0
push 0x6b84
push 0
lea eax, [ebp - 0x7c]
push eax
push 0x61bd
call fcn.1005c882
add esp, 0x1c
mov dword [ebp - 0x1c], 0
jmp 0x10064094
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x100640aa
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xf4], 0x9fdb81fd
jmp 0x1006408d
push 0
call fcn.10055a60
pop ecx
push 0
lea ecx, [ebp - 0x7c]
call fcn.10025597
cmp dword [eax], 0x826243a5
jbe 0x100640cd
mov dword [ebp - 0x48], 1
jmp 0x100640d1
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jne 0x100640e4
mov dword [ebp - 0x60], 1
jmp 0x100640e8
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0x697a
jl 0x100640fa
mov dword [ebp - 0x50], 1
jmp 0x100640fe
and dword [ebp - 0x50], 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.10025597
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
lea eax, [ecx + eax + 0x7d66]
mov ecx, dword [ebp - 0x84]
cmp eax, dword [ecx]
je 0x10064127
mov dword [ebp - 0x68], 1
jmp 0x1006412b
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0x97d93cb
jl 0x1006413d
mov dword [ebp - 0x38], 1
jmp 0x10064141
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jle 0x10064154
mov dword [ebp - 0x3c], 1
jmp 0x10064158
and dword [ebp - 0x3c], 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.10025597
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jne 0x10064172
mov dword [ebp - 0x44], 1
jmp 0x10064176
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x44]
jne 0x10064189
mov dword [ebp - 0x30], 1
jmp 0x1006418d
and dword [ebp - 0x30], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0xf4], ecx
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x30]
cmp eax, 0x4592
jg 0x100641b3
mov dword [ebp - 0x4c], 1
jmp 0x100641b7
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
cmp dword [ebp - 0x54], 0x198f
jg 0x100641d9
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x100641d9
mov dword [ebp - 0x5c], 1
jmp 0x100641dd
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x5c], eax
jne 0x100641f0
mov dword [ebp - 0x64], 1
jmp 0x100641f4
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x64], eax
jg 0x1006420b
mov dword [ebp - 0x94], 1
jmp 0x10064212
and dword [ebp - 0x94], 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.10025597
push 0
lea ecx, [ebp - 0x7c]
call fcn.10025597
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jg 0x1006423a
mov dword [ebp - 0x70], 1
jmp 0x1006423e
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.1002557b
jmp 0x1006428e
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1006426d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xd
jg 0x1006428e
push dword [ebp - 0x10]
push 0x62b0
push 0x4045
push 0
call fcn.10051aee
add esp, 0x10
jmp 0x10064262
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret