Function at 0x1000dbc8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006461a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000e1dc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1000df5e
mov dword [ebp - 0x5c], 0x1122
mov dword [ebp - 0xb0], 0x10007698
cmp dword [ebp - 0x5c], 0x132f
jle 0x1000dcdd
and dword [ebp - 0x34], 0
jmp 0x1000dc50
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x644b
jge 0x1000dcdd
and dword [ebp - 0x38], 0
jmp 0x1000dc6a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x745d
jge 0x1000dcd8
and dword [ebp - 0x30], 0
jmp 0x1000dc80
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x5ac7
jge 0x1000dcd6
and dword [ebp - 0x3c], 0
jmp 0x1000dc96
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x349a
jge 0x1000dcd4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
sar eax, cl
mov ecx, dword [ebp - 0x34]
xor ecx, dword [ebp - 0x38]
xor eax, ecx
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
mov ecx, 0x1060e278
call fcn.1002fe67
jmp 0x1000dc8f
jmp 0x1000dc79
jmp 0x1000dc63
jmp 0x1000dc49
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x10ce
jge 0x1000dcfa
mov edx, dword [ebp - 0xb0]
mov ecx, 0x1060e278
call fcn.10031911
jmp 0x1000dd16
or dword [ebp - 4], 0xffffffff
jmp 0x1000dd20
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x54], 0x19
jmp 0x1000dd37
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x1b
jl 0x1000df51
push 1
lea ecx, [ebp - 0xc4]
call fcn.1002ff7c
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0x54fddd3f
mov dword [ebp - 0x44], 0
jmp 0x1000dd6c
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1000dd88
push dword [ebp - 0x44]
lea ecx, [ebp - 0xc4]
call fcn.1003001a
mov dword [eax], 0xdf603fa7
jmp 0x1000dd65
mov dword [ebp - 0x18], 0
jmp 0x1000dd98
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1000ddbe
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1000ddbc
push 0x188
push 0x25bb
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x1000dd91
mov dword [ebp - 0x18], 0
jmp 0x1000ddce
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1000df3d
mov dword [ebp - 0x50], 1
mov dword [ebp - 0xb8], 0xe486aeba
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x1000ddfb
call dword [sym.imp.USER32.dll_CreateMenu]
mov dword [ebp - 0x50], 0
jmp 0x1000de0b
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jg 0x1000df38
push 4
lea ecx, [ebp - 0x80]
call fcn.1002ff7c
mov byte [ebp - 4], 3
mov dword [ebp - 0x4c], 0
jmp 0x1000de33
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x1000de4c
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x80]
call fcn.1003001a
mov dword [eax], 0xf82d83d7
jmp 0x1000de2c
push 1
lea ecx, [ebp - 0x80]
call fcn.1003001a
and dword [eax], 0
jmp 0x1000de73
push 1
lea ecx, [ebp - 0x80]
call fcn.1003001a
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x80]
call fcn.1003001a
cmp dword [eax], 0
jl 0x1000df0d
mov dword [ebp - 0x24], 0x3d4e7030
mov dword [ebp - 0x24], 0
jmp 0x1000de9d
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1000def4
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1000dec5
push 0
push 0
push 0x1022
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov dword [ebp - 0x58], 0
jmp 0x1000ded5
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1000def2
push dword [ebp - 0x24]
lea ecx, [ebp - 0xc4]
call fcn.1003001a
cmp dword [eax], 0
je 0x1000def0
jmp 0x1000def2
jmp 0x1000dece
jmp 0x1000de96
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x1000df08
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1000de5b
push 3
lea ecx, [ebp - 0x80]
call fcn.1003001a
mov dword [eax], 0x6478c38e
mov dword [ebp - 0xb8], 0x6478c38e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.1002fffe
jmp 0x1000de04
jmp 0x1000ddc7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.1002fffe
jmp 0x1000dd30
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1000e1da
push 1
lea ecx, [ebp - 0x98]
call fcn.1002ff7c
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0x14], 0
jmp 0x1000df89
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1000dfa5
push dword [ebp - 0x14]
lea ecx, [ebp - 0x98]
call fcn.1003001a
mov dword [eax], 0xcf5720e8
jmp 0x1000df82
mov dword [ebp - 0x14], 0
jmp 0x1000dfb5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1000dfc8
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x74], 0x4f37831e
jmp 0x1000dfae
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x74], 0
jmp 0x1000dfed
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x74], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x74], 0
jl 0x1000e058
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x74]
lea ecx, [ebp - 0x98]
call fcn.1003001a
cmp dword [eax], 0xfc371865
jae 0x1000e020
mov dword [ebp - 0x60], 1
jmp 0x1000e024
and dword [ebp - 0x60], 0
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x74]
lea ecx, [ebp - 0x98]
call fcn.1003001a
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x74]
lea ecx, [ebp - 0x98]
call fcn.1003001a
or dword [eax], 0xffffffff
jmp 0x1000dfd8
mov dword [ebp - 0x2c], 0xfffffffa
jmp 0x1000e068
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x15
jge 0x1000e0b5
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1000e089
push 0x1e2d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1000e0b3
push 0x81
push 0
push 0x268c
push 0x93e
push 0
push 0x1ad1
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
jmp 0x1000e061
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.1002fffe
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
push 3
lea ecx, [ebp - 0xd4]
call fcn.1002ff7c
mov dword [ebp - 4], 5
mov dword [ebp - 0x48], 0xdada439b
mov dword [ebp - 0xc8], 0x624cdb8f
mov dword [ebp - 0x40], 0
jmp 0x1000e105
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1000e121
push dword [ebp - 0x40]
lea ecx, [ebp - 0xd4]
call fcn.1003001a
mov dword [eax], 0xffff
jmp 0x1000e0fe
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x1000e137
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
mov dword [ebp - 0x48], 0
jmp 0x1000e147
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x1000e174
mov dword [ebp - 0x68], 0x7ab3921d
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1000e16b
push 0x65b
call dword [sym.imp.USER32.dll_IsIconic]
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
jmp 0x1000e140
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.1002fffe
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x1000e1ba
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 1
jge 0x1000e1da
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0xb4]
call fcn.1003001a
mov dword [eax], 0xb3e90a62
jmp 0x1000e1af
jmp 0x1000e1fa
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
push dword [ebp - 0x88]
push 0
push 0x6fae
call fcn.10027cf8
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret