Function at 0x10028d12
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100633d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002908b
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x5c], 0x1dcb
cmp dword [ebp - 0x5c], 0xba5
jge 0x10028f34
lea eax, [ebp - 0x14]
push eax
push str._ld_n
call fcn.1004977a
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov ecx, 0x100803e4
call fcn.1002af20
push 0
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov ecx, 0x100803f0
call fcn.1002aff4
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov ecx, 0x100803d8
call fcn.1002adc9
push 0
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov ecx, 0x100803c8
call fcn.1002aff4
mov dword [ebp - 0x2c], 1
jmp 0x10028ddb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x14]
jge 0x10028e75
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push str._ld__ld__ld_n
call fcn.1004977a
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
mov ecx, 0x100803e4
call fcn.1000b528
mov ecx, eax
call fcn.1000b57f
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x30]
mov ecx, 0x100803e4
call fcn.1000b528
mov ecx, eax
call fcn.1000b57f
cmp dword [ebp - 0x44], 2
jne 0x10028e70
push 1
push dword [ebp - 0x34]
lea eax, [ebp - 0xac]
push eax
mov ecx, 0x100803f0
call fcn.1002b080
mov ecx, eax
call fcn.1002b09f
push 1
push dword [ebp - 0x30]
lea eax, [ebp - 0xb4]
push eax
mov ecx, 0x100803f0
call fcn.1002b080
mov ecx, eax
call fcn.1002b09f
jmp 0x10028dd4
push 1
call fcn.10028bfe
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.1001006a
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
jmp 0x10028e9c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jg 0x10028ec7
push dword [ebp - 0x18]
mov ecx, 0x100803d8
call fcn.100016c0
cmp dword [eax], 1
jne 0x10028ec5
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa0]
call fcn.1000b57f
jmp 0x10028e95
lea ecx, [ebp - 0xa0]
call fcn.1000b576
push eax
push str._ld_n
call fcn.10049280
pop ecx
pop ecx
and dword [ebp - 0x20], 0
jmp 0x10028eec
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0xa0]
call fcn.1000b576
cmp dword [ebp - 0x20], eax
jae 0x10028f1a
push dword [ebp - 0x20]
lea ecx, [ebp - 0xa0]
call fcn.100016c0
push dword [eax]
push str._ld
call fcn.10049280
pop ecx
pop ecx
jmp 0x10028ee5
push 0x1006c370
call fcn.10049e36
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.1000b571
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x10028f88
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x64]
mov ecx, dword [ebp - 0x84]
call fcn.1002ad3a
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10029089
mov dword [ebp - 0x38], 0x3837
mov dword [ebp - 0x40], str.eeae_wsvj_lbeozgnrm_fbqrra_lnwbzbu_ljpqxms_xem_yeldkgww_mlra_ffb
cmp dword [ebp - 0x38], 0x393e
jle 0x1002901e
push 0x224f
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
and dword [ebp - 0x28], 0
jmp 0x10028fb7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x351d
jge 0x1002901e
and dword [ebp - 0x24], 0
jmp 0x10028fcd
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x43c5
jge 0x1002901c
and dword [ebp - 0x1c], 0
jmp 0x10028fe3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1731
jge 0x1002901a
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
mov ecx, 0x1007f278
call fcn.1000b2a8
jmp 0x10028fdc
jmp 0x10028fc6
jmp 0x10028fb0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x38], 0x3614
jge 0x10029044
mov edx, dword [ebp - 0x40]
mov ecx, 0x1007f278
call fcn.1000ee32
jmp 0x10029060
or dword [ebp - 4], 0xffffffff
jmp 0x1002906a
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10029089
push 0x1436
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x100290da
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push 0
push 0x1ddc
push dword [ebp - 0x78]
push 0x5e3b
push 0x155f
push dword [ebp - 0x80]
call fcn.10029bd1
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret