Function at 0x1002744a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072792
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x354
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10028763
lea eax, [ebp + 0x38]
mov dword [ebp - 0x1e0], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x204], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x238], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x204]
movzx eax, byte [eax]
test eax, eax
je 0x10027d85
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x30], 0x469ad59e
mov dword [ebp - 0x88], 0xfffd
mov dword [ebp - 0x1a4], 0x9338886a
mov dword [ebp - 0x24], 0
jmp 0x1002750b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1002751e
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x3c], 0xffffffff
jmp 0x10027504
mov dword [ebp - 0x24], 0
jmp 0x1002752e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x10027544
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x27c], 0x29207965
jmp 0x10027527
mov dword [ebp - 0x30], 0
jmp 0x10027554
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x100275ba
mov dword [ebp - 0x28], 0xf390197f
mov dword [ebp - 0x28], 0
jmp 0x10027571
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10027592
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 1
push 0x43b4
push 1
call fcn.100271a2
add esp, 0x10
jmp 0x1002756a
mov dword [ebp - 0x28], 0
jmp 0x100275a2
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x100275b8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x3c]
mov dword [ebp + ecx*4 - 0x3c], eax
jmp 0x1002759b
jmp 0x1002754d
cmp dword [ebp - 0x88], 1
jg 0x100275cf
mov dword [ebp - 0x134], 1
jmp 0x100275d6
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x134], eax
jne 0x100275f0
mov dword [ebp - 0xb8], 1
jmp 0x100275f7
and dword [ebp - 0xb8], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
jne 0x10027683
cmp dword [ebp - 0x30], 0xef70
jle 0x10027619
mov dword [ebp - 0xb0], 1
jmp 0x10027620
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xb0], eax
jge 0x10027637
mov dword [ebp - 0xa8], 1
jmp 0x1002763e
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xa8], eax
jle 0x10027655
mov dword [ebp - 0xac], 1
jmp 0x1002765c
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
imul eax, dword [ebp - 0xac]
test eax, eax
je 0x1002767a
cmp dword [ebp - 0x88], 0
jne 0x10027683
and dword [ebp - 0x118], 0
jmp 0x1002768d
mov dword [ebp - 0x118], 1
cmp dword [ebp - 0x118], 0xdfb1
jl 0x100276a5
mov dword [ebp - 0x170], 1
jmp 0x100276ac
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x170]
add eax, dword [ebp - 0x1a4]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x3c]
jle 0x100276d6
mov dword [ebp - 0xc0], 1
jmp 0x100276dd
and dword [ebp - 0xc0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x27c]
cmp dword [ebp - 0xc0], eax
je 0x1002770b
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x27c], 0
jne 0x1002770b
and dword [ebp - 0x120], 0
jmp 0x10027715
mov dword [ebp - 0x120], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x120]
mov dword [ebp + eax - 0x3c], ecx
mov eax, dword [0x1061b3a0]
and eax, 1
jne 0x10027759
mov eax, dword [0x1061b3a0]
or eax, 1
mov dword [0x1061b3a0], eax
and dword [ebp - 4], 0
mov ecx, 0x1061b380
call fcn.10021095
push 0x100734d9
call fcn.1005a6a5
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x68], 0xfffffffc
mov dword [ebp - 0x40], 0xfc3938dd
mov dword [ebp - 0x130], 0x7c422d5f
mov dword [ebp - 0x150], 5
push 1
lea ecx, [ebp - 0x268]
call fcn.10020fd1
mov dword [ebp - 4], 1
mov dword [ebp - 0xe0], 0xd4a7c769
mov dword [ebp - 0x80], 0x523e
mov dword [ebp - 0x1f4], 0xc7b
mov dword [ebp - 0x19c], 0xfffffffa
mov dword [ebp - 0x20c], 0xa9daee1d
mov dword [ebp - 0x1c], 0
jmp 0x100277d8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100277ee
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x284], 0xffffffff
jmp 0x100277d1
mov dword [ebp - 0x1c], 0
jmp 0x100277fe
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10027814
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x228], 0x2f67
jmp 0x100277f7
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x268]
push eax
push 0
call fcn.1002bce3
add esp, 0xc
cmp dword [ebp - 0x94], 0
jne 0x10027916
cmp dword [ebp - 0x40], 0x4b693050
jge 0x1002784b
mov dword [ebp - 0xc8], 1
jmp 0x10027852
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jne 0x10027877
push 6
pop eax
test eax, eax
jne 0x10027877
and dword [ebp - 0xd0], 0
jmp 0x10027881
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xd0], eax
jl 0x10027898
mov dword [ebp - 0x98], 1
jmp 0x1002789f
and dword [ebp - 0x98], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x284], ecx
cmp dword [ebp - 0x98], 0xf1e2
jge 0x100278ca
mov dword [ebp - 0x128], 1
jmp 0x100278d1
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x128], eax
jge 0x100278e8
mov dword [ebp - 0x8c], 1
jmp 0x100278ef
and dword [ebp - 0x8c], 0
push 0
lea ecx, [ebp - 0x268]
call fcn.1002106f
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
cmp dword [ebp - 0x8c], 0
jne 0x10027916
and dword [ebp - 0xd8], 0
jmp 0x10027920
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0xd8]
jge 0x1002793a
mov dword [ebp - 0x168], 1
jmp 0x10027941
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xf5d1
jge 0x10027965
mov dword [ebp - 0x1ec], 1
jmp 0x1002796c
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x130]
je 0x1002799c
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x284], 0
jne 0x1002799c
and dword [ebp - 0xe8], 0
jmp 0x100279a6
mov dword [ebp - 0xe8], 1
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0xe8], eax
jge 0x100279bd
mov dword [ebp - 0x1ac], 1
jmp 0x100279c4
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x1f4]
cmp dword [ebp - 0x40], eax
jle 0x100279e7
mov dword [ebp - 0x158], 1
jmp 0x100279ee
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x158], eax
jne 0x10027a05
mov dword [ebp - 0xf0], 1
jmp 0x10027a0c
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x68]
jne 0x10027a26
mov dword [ebp - 0x138], 1
jmp 0x10027a2d
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0xffffffff
jb 0x10027a42
mov dword [ebp - 0xf8], 1
jmp 0x10027a49
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xaa9b
jge 0x10027a61
mov dword [ebp - 0x178], 1
jmp 0x10027a68
and dword [ebp - 0x178], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x228]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1fc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x228]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x228], eax
mov eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0x1fc]
jl 0x10027abc
mov dword [ebp - 0x100], 1
jmp 0x10027ac3
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x100]
cmp dword [ebp - 0x94], eax
je 0x10027b0b
mov byte [ebp - 0x32], 0
push 0x1399
push 0x6676
push 0
push 0x3097
lea eax, [ebp - 0x32]
push eax
call fcn.10030c70
add esp, 0x14
mov byte [ebp - 0x33], 0
push 0
lea eax, [ebp - 0x33]
push eax
call fcn.10028bc5
pop ecx
pop ecx
jmp 0x10027bc9
mov dword [ebp - 0x1bc], 0x335309f3
push 4
lea ecx, [ebp - 0x2b0]
call fcn.10020fd1
mov byte [ebp - 4], 2
mov dword [ebp - 0x2d4], 0x5a4792d8
mov dword [ebp - 0x1c4], 0xffffffff
push 0
lea eax, [ebp - 0x2d0]
push eax
push 0x2d53
lea eax, [ebp - 0x2b0]
push eax
call fcn.1002c50f
add esp, 0x10
lea eax, [ebp - 0x1bc]
push eax
push 0x7b63
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 1
lea eax, [ebp - 0x80]
push eax
push 0
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x496f
lea eax, [ebp - 0x1c4]
push eax
call fcn.1002722c
add esp, 0x2c
push 0x2d45
push 0
push 0x4af6
push 0x15d4
lea eax, [ebp - 0x20c]
push eax
push 1
call fcn.1002954a
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.10021053
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.10021053
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x2f0]
push eax
mov ecx, 0x1061b380
call fcn.1002114c
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x2fc]
push eax
mov ecx, 0x1061b380
call fcn.10021163
mov ecx, eax
call fcn.10020fbe
movzx eax, al
test eax, eax
je 0x10027c5a
push 0
push 0x5255
push 0x5f5f
call fcn.10029111
add esp, 0xc
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x214]
push eax
mov ecx, 0x1061b380
call fcn.10031420
mov ecx, dword [ebp - 0x140]
mov al, byte [eax]
mov byte [ecx], al
jmp 0x10028966
mov dword [ebp - 0x21c], 8
mov dword [ebp - 0x4c], 0xfffffffc
mov dword [ebp - 0x7c], 0
jmp 0x10027c7b
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x10027c91
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x31c], 0x3274
jmp 0x10027c74
push 0x6cdc
lea eax, [ebp - 0x21c]
push eax
push 0x7401
push 0x5c79
push 1
push 0x294a
push 1
push 0x2085
push 0x14f6
lea eax, [ebp - 0x4c]
push eax
push 0x506a
call fcn.1002722c
add esp, 0x2c
mov dword [ebp - 0x4c], 0
jmp 0x10027cdb
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jg 0x10027cf7
push 0x7008
push 0x5cfc
push 0
call fcn.1002c91c
add esp, 0xc
jmp 0x10027cd4
mov eax, dword [ebp - 0x70]
push dword [eax]
lea eax, [ebp - 0x34c]
push eax
call fcn.10026de1
pop ecx
pop ecx
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x22c]
call fcn.10020d71
mov al, byte [eax]
mov byte [ebp - 0x15], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.10020f5d
push 0x2efe
push 0x46ac
push 0x1061b380
push 1
lea eax, [ebp - 0x15]
push eax
push 0
push 0x2a99
push 0x3b14
push dword [ebp - 0x70]
push 1
call fcn.10028a8d
add esp, 0x28
mov eax, dword [ebp - 0x140]
mov cl, byte [ebp - 0x15]
mov byte [eax], cl
jmp 0x10028966
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x14], 0x4dd03248
push 2
lea ecx, [ebp - 0x188]
call fcn.10020fd1
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0x9bca7b5c
mov dword [ebp - 0xbc], 0x4ab653b1
mov dword [ebp - 0x198], 0x4dfd9964
mov dword [ebp - 0x194], 0x4dfd9964
mov dword [ebp - 0x190], 0x4dfd9964
mov dword [ebp - 0x18c], 0x4dfd9964
mov dword [ebp - 0x1f0], 1
mov dword [ebp - 0xec], 0x7f0a061f
mov dword [ebp - 0x208], 0x628f0fc5
push 0x3700
push 0x6111
push 0x3a29
push 0x652b
push 0x63a3
push 0x2a3
push 0x7a8
push 1
push 0
push 0x5503
lea eax, [ebp - 0x2f4]
push eax
push 0
lea eax, [ebp - 0x188]
push eax
call fcn.1002744a
add esp, 0x34
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x14], 0
je 0x10027eaf
cmp dword [ebp - 0x14], 6
jne 0x10027e8c
mov dword [ebp - 0x108], 1
jmp 0x10027e93
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
add eax, 0x13a23
cmp eax, 0xfffffff7
je 0x10027eaf
mov dword [ebp - 0x160], 1
jmp 0x10027eb6
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
dec eax
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x110], eax
push 1
lea ecx, [ebp - 0x188]
call fcn.1002106f
mov ecx, dword [ebp - 0x110]
mov dword [eax], ecx
cmp dword [ebp - 0x110], 0
je 0x10027ef9
mov eax, 0xd5be
test eax, eax
je 0x10027ef9
mov dword [ebp - 0x148], 1
jmp 0x10027f00
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x148]
cmp dword [ebp - 0x14], eax
jl 0x10027f1b
mov dword [ebp - 0xa4], 1
jmp 0x10027f22
and dword [ebp - 0xa4], 0
imul eax, dword [ebp - 0xa4], 0xfffffff9
cmp eax, dword [ebp - 0x14]
jle 0x10027f3a
mov dword [ebp - 0xb4], 1
jmp 0x10027f41
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x2c], eax
push 1
lea ecx, [ebp - 0x188]
call fcn.1002106f
mov dword [ebp - 0xbc], 0x2be1
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x2c8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x198]
dec eax
mov dword [ebp - 0xc4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc4]
mov dword [ebp + eax - 0x198], ecx
cmp dword [ebp - 0xc4], 0
je 0x10028045
cmp dword [ebp - 0x14], 0x40
je 0x10027fb9
mov eax, 0xba79
test eax, eax
jne 0x10027fb9
and dword [ebp - 0x9c], 0
jmp 0x10027fc3
mov dword [ebp - 0x9c], 1
push 1
lea ecx, [ebp - 0x188]
call fcn.1002106f
mov ecx, dword [ebp - 0x9c]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x198]
imul eax, dword [ebp - 0x9c]
test eax, eax
jne 0x10027fff
cmp dword [ebp - 0x2c], 0
jne 0x10027fff
and dword [ebp - 0xcc], 0
jmp 0x10028009
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0x1f0]
cmp dword [ebp - 0xcc], eax
jle 0x10028023
mov dword [ebp - 0xd4], 1
jmp 0x1002802a
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x198]
cmp dword [ebp - 0x2c], eax
jl 0x10028054
cmp dword [ebp - 0x14], 0
jne 0x10028054
and dword [ebp - 0xdc], 0
jmp 0x1002805e
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0xdc]
sub eax, 0xd45ef0c
cmp eax, dword [ebp - 0x14]
jl 0x1002807e
mov dword [ebp - 0xe4], 1
jmp 0x10028085
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0xd6c5
jl 0x1002809d
mov dword [ebp - 0x244], 1
jmp 0x100280a4
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2cc], eax
push 1
lea ecx, [ebp - 0x188]
call fcn.1002106f
mov ecx, dword [ebp - 0x14]
cmp dword [eax], ecx
je 0x100280d4
push 0xfffffffffffffff7
pop eax
test eax, eax
je 0x100280d4
mov dword [ebp - 0x1f8], 1
jmp 0x100280db
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 5
je 0x10028125
mov dword [ebp - 0x24c], 0xe49c9060
push 0x4ee2
push 0x79c4
lea eax, [ebp - 0x24c]
push eax
push 0x3155
push 0
call fcn.10028db7
add esp, 0x14
jmp 0x100283b0
mov dword [ebp - 0x124], 0xfffffffc
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x2c], 0
jmp 0x10028149
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff1
jle 0x1002838d
mov dword [ebp - 0x11c], 0x89afff74
mov dword [ebp - 0xf4], 0x1025
mov dword [ebp - 0x25c], 0x10007f98
cmp dword [ebp - 0xf4], 0x10de
jle 0x10028245
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
and dword [ebp - 0x5c], 0
jmp 0x10028194
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x343f
jge 0x1002823a
and dword [ebp - 0x78], 0
jmp 0x100281ae
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xcdf
jge 0x10028235
and dword [ebp - 0x84], 0
jmp 0x100281cd
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xa53
jge 0x10028230
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x78]
and eax, dword [ebp - 0x84]
cdq
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], edx
push dword [ebp - 0x230]
push dword [ebp - 0x234]
lea ecx, [ebp - 0x364]
call fcn.1000a6be
pop ecx
pop ecx
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
call fcn.10020d71
push eax
call fcn.1005a6cf
pop ecx
lea ecx, [ebp - 0x364]
call fcn.10020d67
jmp 0x100281c0
jmp 0x100281a7
jmp 0x1002818d
push 0x1aa7
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x104], 0x9becc425
mov byte [ebp - 4], 5
cmp dword [ebp - 0xf4], 0xd66
jge 0x1002826b
push dword [ebp - 0x25c]
call fcn.1005a6cf
pop ecx
jmp 0x10028287
mov dword [ebp - 4], 4
jmp 0x10028297
mov dword [ebp - 0x248], 0xfffffff9
push 0
call fcn.10029b8b
pop ecx
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x198]
cmp dword [ebp + eax - 0x198], ecx
jne 0x100282cf
mov dword [ebp - 0xfc], 1
jmp 0x100282d6
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10c], eax
push 0
lea ecx, [ebp - 0x188]
call fcn.1002106f
mov ecx, dword [ebp - 0x10c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10c]
inc eax
cmp dword [ebp - 0x208], eax
jge 0x1002831e
mov dword [ebp - 0x114], 1
jmp 0x10028325
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x114], eax
jle 0x10028345
cmp dword [ebp - 0x248], 0
jne 0x10028345
and dword [ebp - 0x12c], 0
jmp 0x1002834f
mov dword [ebp - 0x12c], 1
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x12c]
je 0x10028375
mov dword [ebp - 0xa0], 1
jmp 0x1002837c
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x210], eax
jmp 0x10028142
mov byte [ebp - 0x31], 0
push 0x7372
push 0
push 0x4083
lea eax, [ebp - 0x31]
push eax
push 0x7e39
push 0
call fcn.1002954a
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.10021053
lea ecx, [ebp - 0x2ec]
call fcn.100313bd
mov dword [ebp - 4], 7
push 0x2be3
push 0
lea eax, [ebp - 0x2ec]
push eax
push 0x307b
push dword [ebp - 0x13c]
push 0x619
push 0x6c79
call fcn.1002be7e
add esp, 0x1c
mov dword [ebp - 0x54], 0xebaeef20
mov dword [ebp - 0x60], 0
jmp 0x10028413
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x10028429
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x32c], 0xfffffff7
jmp 0x1002840c
mov dword [ebp - 0x54], 0
jmp 0x10028439
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jg 0x1002846d
mov eax, dword [ebp - 0x54]
cmp dword [ebp + eax*4 - 0x32c], 0
je 0x1002844e
jmp 0x1002846d
push 0
push 1
push 0x6ed8
push 0x5520
push 0x737b
push 1
call fcn.100270a0
add esp, 0x18
jmp 0x10028432
and dword [ebp - 0x44], 0
jmp 0x1002847a
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jae 0x10028577
and dword [ebp - 0x298], 0
and dword [ebp - 0x294], 0
and dword [ebp - 0x290], 0
and dword [ebp - 0x28c], 0
lea ecx, [ebp - 0x8d]
call fcn.1002107e
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x334]
call fcn.10021081
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x314]
call fcn.1002102d
mov byte [ebp - 4], 8
mov dword [ebp - 0x64], 0x29000d4e
mov dword [ebp - 0x64], 0
jmp 0x100284f7
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jg 0x1002851b
mov byte [ebp - 0x35], 0
push 0x2550
push 0
lea eax, [ebp - 0x35]
push eax
push 0x23f1
call fcn.10028a5c
add esp, 0x10
jmp 0x100284f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x314]
call fcn.10021053
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
xor edx, edx
div dword [0x10078848]
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10024a89
push eax
lea ecx, [ebp - 0x2ec]
call fcn.100313ec
jmp 0x10028473
mov dword [ebp - 0x48], 0xffffffff
push 2
lea ecx, [ebp - 0x274]
call fcn.10020fd1
mov byte [ebp - 4], 9
mov dword [ebp - 0x250], 0x9d5b611f
mov dword [ebp - 0x6c], 0
jmp 0x100285a9
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x100285c2
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x274]
call fcn.1002106f
or dword [eax], 0xffffffff
jmp 0x100285a2
mov dword [ebp - 0x48], 9
jmp 0x100285d2
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x13
jg 0x1002871a
mov dword [ebp - 0x20], 0xfffffff9
mov dword [ebp - 0x20], 0
jmp 0x100285f3
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffff1
jle 0x100286a6
push 1
lea ecx, [ebp - 0x2a4]
call fcn.10020fd1
mov byte [ebp - 4], 0xa
push 0x6883
push 1
push 0xe3f
lea eax, [ebp - 0x300]
push eax
push 0x5c40
lea eax, [ebp - 0x2a4]
push eax
push 0x5d78
push 0xd7a
push 0x3b29
push 0x69cf
push 0x40c5
push 0x366a
push 0x6ce0
push 0x2352
push 0x1a66
push 0x5e23
push 0x4bf9
push 0
push 0x5b9d
push 0x3502
push 1
call fcn.10026886
add esp, 0x54
push 0xfff
push 0
lea eax, [ebp - 0x2a4]
push eax
push 0
call fcn.100289e9
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2a4]
call fcn.10021053
jmp 0x100285ec
mov dword [ebp - 0x20], 1
jmp 0x100286b6
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10028715
mov dword [ebp - 0x258], 0xead9bacc
mov dword [ebp - 0x218], 0x7fffaa23
push dword [ebp - 0x20]
lea ecx, [ebp - 0x274]
call fcn.1002106f
cmp dword [eax], 0
je 0x100286e5
jmp 0x10028715
push 0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.10029c77
add esp, 0x1c
jmp 0x100286af
jmp 0x100285cb
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x274]
call fcn.10021053
lea eax, [ebp - 0x2ec]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.100313ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ec]
call fcn.10020f5d
jmp 0x10028966
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1d4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1d0]
movzx eax, byte [eax]
test eax, eax
je 0x10028903
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x15c], eax
push 2
mov ecx, dword [ebp - 0x50]
call fcn.1002106f
mov dword [eax], 0xffffffec
jmp 0x10028801
push 2
mov ecx, dword [ebp - 0x50]
call fcn.1002106f
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x154]
mov dword [ecx], eax
push 2
mov ecx, dword [ebp - 0x50]
call fcn.1002106f
cmp dword [eax], 0x14
je 0x10028901
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x2c0], 0xfffffffd
mov dword [ebp - 0x2bc], 0xfffffffd
mov dword [ebp - 0x2b8], 0xfffffffd
mov dword [ebp - 0x2b4], 0xfffffffd
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0x15c]
cmp dword [eax], 0
jne 0x10028865
mov dword [ebp - 0x164], 1
jmp 0x1002886c
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x164]
jg 0x10028883
mov dword [ebp - 0x16c], 1
jmp 0x1002888a
and dword [ebp - 0x16c], 0
push 2
mov ecx, dword [ebp - 0x50]
call fcn.1002106f
mov eax, dword [eax]
add eax, dword [ebp - 0x16c]
cmp eax, 0x2d2c
je 0x100288af
mov dword [ebp - 0x174], 1
jmp 0x100288b6
and dword [ebp - 0x174], 0
mov esi, dword [ebp - 0x74]
neg esi
mov edi, dword [ebp - 0x74]
push 2
mov ecx, dword [ebp - 0x50]
call fcn.1002106f
mov ecx, dword [ebp - 0x174]
add ecx, dword [eax]
add edi, ecx
cmp esi, edi
jle 0x100288e2
mov dword [ebp - 0x17c], 1
jmp 0x100288e9
and dword [ebp - 0x17c], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x17c]
mov dword [ebp + eax - 0x2c0], ecx
jmp 0x100287e0
jmp 0x10028966
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
jmp 0x10028946
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax], 2
jge 0x10028966
mov eax, dword [ebp - 0x58]
push dword [eax]
mov ecx, dword [ebp - 0x1c8]
call fcn.1002106f
mov dword [eax], 0xfffffffa
jmp 0x1002893b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret