Function at 0x100143eb
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b78c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10014848
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x44], 0x4ee87f6f
mov dword [ebp - 0xc0], 0xaf425f5f
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x2c], 0x5457d670
push 1
lea ecx, [ebp - 0xbc]
call fcn.10012997
and dword [ebp - 4], 0
mov dword [ebp - 0xc8], 3
mov dword [ebp - 0x34], 0x9a6fdd8f
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0xa0], 0xba430906
mov dword [ebp - 0x6c], 0xbbbf
mov dword [ebp - 0x20], 0
jmp 0x100144a3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x100144bf
push dword [ebp - 0x20]
lea ecx, [ebp - 0xbc]
call fcn.10012a38
mov dword [eax], 6
jmp 0x1001449c
push 0
lea ecx, [ebp - 0xbc]
call fcn.10012a38
mov eax, 0xc1b16eb2
test eax, eax
je 0x1001456b
cmp dword [ebp - 0x88], 0
je 0x100144f7
mov eax, 0x66896e60
test eax, eax
je 0x100144f7
mov dword [ebp - 0x84], 1
jmp 0x100144fe
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10014528
cmp dword [ebp - 0x2c], 0
je 0x10014528
mov dword [ebp - 0x4c], 1
jmp 0x1001452c
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x4c], eax
jg 0x10014540
mov dword [ebp - 0x80], 1
jmp 0x10014544
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 1
jne 0x10014553
mov dword [ebp - 0x54], 1
jmp 0x10014557
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x54]
jge 0x1001456b
mov dword [ebp - 0xb0], 1
jmp 0x10014572
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xd0], eax
push 0
lea ecx, [ebp - 0xbc]
call fcn.10012a38
mov dword [eax], 0x14c259db
mov eax, 0x14c259db
sub eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x34]
add ecx, eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x98], 0xffffffff
jl 0x100145bd
mov dword [ebp - 0x5c], 1
jmp 0x100145c1
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x5c], eax
jne 0x100145d2
mov dword [ebp - 0x74], 1
jmp 0x100145d6
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x30], eax
jg 0x100145ed
mov dword [ebp - 0x64], 1
jmp 0x100145f1
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x64], eax
jl 0x10014602
mov dword [ebp - 0x3c], 1
jmp 0x10014606
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x3c], eax
je 0x10014617
mov dword [ebp - 0x7c], 1
jmp 0x1001461b
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x7c], eax
jg 0x1001462c
mov dword [ebp - 0x58], 1
jmp 0x10014630
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x58], eax
jg 0x10014641
mov dword [ebp - 0x60], 1
jmp 0x10014645
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0x8d88
jne 0x10014657
mov dword [ebp - 0x68], 1
jmp 0x1001465b
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.10012a1c
mov dword [ebp - 0x24], 0x3ae35568
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x24], 0
jmp 0x10014694
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffe2
jl 0x100146cf
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x100146bb
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x100146cd
call dword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x1001468d
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x100146e3
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x1c], 0xd837
mov dword [ebp - 0x14], 0x6e871d97
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x1c], 8
jbe 0x1001470a
mov dword [ebp - 0x70], 1
jmp 0x1001470e
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 0
jmp 0x10014724
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x13
jl 0x10014846
mov dword [ebp - 0x94], 5
mov dword [ebp - 0x1c], 0
jmp 0x10014748
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xa
jne 0x10014841
push 2
lea ecx, [ebp - 0xac]
call fcn.10012997
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], 0
jmp 0x10014776
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x10014792
push dword [ebp - 0x28]
lea ecx, [ebp - 0xac]
call fcn.10012a38
mov dword [eax], 0x51cf
jmp 0x1001476f
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x100147ad
push 0x3f6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0
lea ecx, [ebp - 0xac]
call fcn.10012a38
mov ecx, dword [ebp - 0x94]
cmp dword [eax], ecx
jg 0x100147cd
mov dword [ebp - 0x48], 1
jmp 0x100147d1
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc4], eax
push 1
lea ecx, [ebp - 0xac]
call fcn.10012a38
cmp dword [eax], 0
jne 0x100147f8
cmp dword [ebp - 0x14], 0
jne 0x100147f8
and dword [ebp - 0x40], 0
jmp 0x100147ff
mov dword [ebp - 0x40], 1
push 0
lea ecx, [ebp - 0xac]
call fcn.10012a38
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
jge 0x1001481c
mov dword [ebp - 0x50], 1
jmp 0x10014820
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x50]
mov dword [ebp - 0x9c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.10012a1c
jmp 0x10014741
jmp 0x1001471d
jmp 0x10014850
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret