Function at 0x10032230
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062542
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1003232d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x100322dd
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 6
jmp 0x100322b7
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0xfffffff3
je 0x100322db
mov dword [ebp - 0x44], 0xf8f0aa6e
push 1
push dword [ebp - 0x80]
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.10031795
add esp, 0x10
jmp 0x100322ac
jmp 0x10032328
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003230b
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], 2
jge 0x10032328
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.10002262
mov dword [eax], 0xfffffff9
jmp 0x10032300
jmp 0x10032459
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1003236c
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x10032367
push 0
call fcn.1002f338
pop ecx
jmp 0x10032459
mov dword [ebp - 0x24], 0x15b3
mov dword [ebp - 0x60], str.hzwogw_rdcuuk_easjpb_ocbybvz_jpulkw_svez
cmp dword [ebp - 0x24], 0x179f
jle 0x10032401
and dword [ebp - 0x18], 0
jmp 0x10032390
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x73bd
jge 0x100323f2
and dword [ebp - 0x1c], 0
jmp 0x100323a6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x29e8
jge 0x100323f0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x98]
call fcn.10002bac
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.100139de
push eax
call fcn.1004a753
pop ecx
lea ecx, [ebp - 0x98]
call fcn.100139d4
jmp 0x1003239f
jmp 0x10032389
push 0x86e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x1273
jge 0x1003241d
push dword [ebp - 0x60]
call fcn.1004a753
pop ecx
jmp 0x10032439
or dword [ebp - 4], 0xffffffff
jmp 0x10032443
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
push 0
mov ecx, dword [ebp - 0x70]
call fcn.10002262
mov dword [eax], 0x290be443
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret