Function at 0x10029a0d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070dae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002ab3c
lea eax, [ebp + 0x18]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1c0]
movzx eax, byte [eax]
test eax, eax
je 0x1002a8b9
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10029aa0
jmp 0x1002b17f
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0x4550
je 0x10029abf
jmp 0x1002b17f
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
jne 0x10029add
jmp 0x1002b17f
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x58]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x150], eax
push 0x593c
push 0x6ff2
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x150]
push eax
call fcn.10028693
add esp, 0x20
cmp dword [ebp - 0x20], 0
jne 0x10029b29
jmp 0x1002b17f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.10026121
push eax
call fcn.1005b047
pop ecx
mov byte [ebp - 0x9c], 4
mov byte [ebp - 0x9b], 0x2c
mov byte [ebp - 0x9a], 1
mov byte [ebp - 0x99], 0xd
mov byte [ebp - 0x98], 8
mov byte [ebp - 0x97], 5
mov byte [ebp - 0x96], 7
mov byte [ebp - 0x95], 6
mov byte [ebp - 0x94], 6
mov byte [ebp - 0x93], 7
mov byte [ebp - 0x92], 4
mov byte [ebp - 0x91], 0xdd
mov byte [ebp - 0x90], 0xf
mov byte [ebp - 0x8f], 0xe1
mov byte [ebp - 0x8e], 0xbf
mov byte [ebp - 0x8d], 3
mov byte [ebp - 0x8c], 6
mov byte [ebp - 0x8b], 9
mov byte [ebp - 0x8a], 7
mov byte [ebp - 0x89], 0
mov byte [ebp - 0x88], 1
mov byte [ebp - 0x87], 2
mov byte [ebp - 0x86], 6
mov byte [ebp - 0x85], 5
mov byte [ebp - 0x84], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x9c]
or eax, 0x14
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x9c]
and ecx, 0x14
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x9c]
mov byte [ebp + ecx - 0x184], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0xac], 0
jmp 0x10029c45
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x19
jae 0x10029d2c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x9c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x10029c8f
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x9c]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x9c]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x10029c3d
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x9b]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0xac]
movzx ecx, byte [ebp + ecx - 0x9e]
movsx ecx, byte [ebp + ecx - 0x184]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x9b]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0xac]
movzx edx, byte [ebp + edx - 0x9e]
movsx edx, byte [ebp + edx - 0x184]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x9c]
mov byte [ebp + ecx - 0x184], al
push 0
push 0x11b8
push 0x630a
push 1
push 0x64a3
push 1
push 0x2230
lea eax, [ebp - 0xac]
push eax
push 0x3528
push 0xf5
push 0x49ad
call fcn.10028465
add esp, 0x2c
jmp 0x10029c3d
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x184], 0
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x31c]
call fcn.1002144c
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1ec], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1ec]
call fcn.100260e6
pop ecx
mov dword [ebp - 0x208], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31c]
call fcn.1002146f
and dword [ebp - 0xb4], 0
jmp 0x10029d9d
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xb
jae 0x10029db6
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x184], 0
jmp 0x10029d90
mov byte [ebp - 0x7c], 5
mov byte [ebp - 0x7b], 0xc3
mov byte [ebp - 0x7a], 7
mov byte [ebp - 0x79], 7
mov byte [ebp - 0x78], 8
mov byte [ebp - 0x77], 6
mov byte [ebp - 0x76], 0
mov byte [ebp - 0x75], 1
mov byte [ebp - 0x74], 2
mov byte [ebp - 0x73], 6
mov byte [ebp - 0x72], 6
mov byte [ebp - 0x71], 0xe
mov byte [ebp - 0x70], 9
mov byte [ebp - 0x6f], 9
mov byte [ebp - 0x6e], 3
mov byte [ebp - 0x6d], 2
mov byte [ebp - 0x6c], 1
mov byte [ebp - 0x6b], 4
mov byte [ebp - 0x6a], 4
mov byte [ebp - 0x69], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x7c]
or eax, 0xf2
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
and ecx, 0xf2
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0x178], al
mov dword [ebp - 0x34], 2
and dword [ebp - 0x100], 0
jmp 0x10029e53
mov eax, dword [ebp - 0x34]
inc eax
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x14
jae 0x10029ed1
mov eax, dword [ebp - 0x34]
movzx eax, byte [ebp + eax - 0x7b]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x100]
movzx ecx, byte [ebp + ecx - 0x7e]
movsx ecx, byte [ebp + ecx - 0x178]
add eax, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x100]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0x178]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x100]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0x178]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0x178], al
jmp 0x10029e4b
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x178], 0
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.1002144c
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1fc]
call fcn.100260e6
pop ecx
mov dword [ebp - 0x214], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ec]
call fcn.1002146f
and dword [ebp - 0xbc], 0
jmp 0x10029f45
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xb
jae 0x10029f5e
mov eax, dword [ebp - 0xbc]
mov byte [ebp + eax - 0x178], 0
jmp 0x10029f38
push dword [ebp - 0x214]
push dword [ebp - 0x208]
call fcn.100275b2
pop ecx
pop ecx
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x58]
push eax
push 0x7af6
push 0x1f69
lea eax, [ebp - 0x148]
push eax
push 0x7075
push 0x36b7
push 0x47ec
push 1
push 0
push 0x7a45
push 0x53c4
call fcn.10027b08
add esp, 0x2c
push 0xf
push 5
call fcn.100275b2
pop ecx
pop ecx
add eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
and dword [ebp - 0x80], 0
push 0x5ef0
push 0x38d4
push 1
push 0x5810
push 0x606b
push 0
push 1
push 0x75c7
push 0x7ed2
push 0x1f51
lea eax, [ebp - 0x14]
push eax
push 0x63c9
push 0x1644
lea eax, [ebp - 0x80]
push eax
call fcn.100293b3
add esp, 0x38
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0x60], 0
jmp 0x1002a031
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x4c]
jge 0x1002a10d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x60], eax
jae 0x1002a093
push 0x7593
push 1
lea eax, [ebp - 0x20]
push eax
push 0x3d98
push 0x913
push 0x1fbc
lea eax, [ebp - 0x14]
push eax
push 0xdfa
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x60]
push eax
push 1
push 0x5114
call fcn.10027dec
add esp, 0x38
jmp 0x1002a0cd
push 0x2d61
push 0x6591
push 0x52b8
push 0x1d30
push 0
push 0x623f
push 1
lea eax, [ebp - 0x150]
push eax
push 0x7598
lea eax, [ebp - 0x168]
push eax
push 1
call fcn.10029a0d
add esp, 0x2c
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x168]
mov dword [ecx + eax], edx
lea eax, [ebp - 0x10]
push eax
push 0x7068
push 0x433d
push 0x3809
push 0
push 0x1faf
push 1
push 0x7eb4
call fcn.10028693
add esp, 0x20
jmp 0x1002a02a
push 0
push 1
push 0x3424
push 0x3bdc
push 0x3c84
push 0x7684
push 0x312f
push 0x7c3f
lea eax, [ebp - 0x14]
push eax
push 0x1a59
lea eax, [ebp - 0x80]
push eax
push 1
call fcn.1002896b
add esp, 0x30
push 0x6ad1
push 0
push 0xb75
lea eax, [ebp - 0x4c]
push eax
push 0x38b5
push 0x6a63
push 0x1483
lea eax, [ebp - 0x14]
push eax
push 0x8e4
push 1
push 0x22e5
push 0x6bc8
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.10027dec
add esp, 0x38
and dword [ebp - 0x10c], 0
jmp 0x1002a19e
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x4c]
jge 0x1002a207
push 0x3d6e
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x3e6c
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.10027904
add esp, 0x1c
push 1
push 1
push 0x5bbc
lea eax, [ebp - 0x10]
push eax
push 0xa0d
push 0x1f3f
push 0x6a88
push 0x6b0b
push 0x184a
push 0x131d
push 0x6e4a
push 0
call fcn.1002896b
add esp, 0x30
jmp 0x1002a191
push 1
push 1
push 0x36b9
push 0x12da
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x3c2d
push 0x6cda
push 0x9e2
lea eax, [ebp - 0x14]
push eax
push 0x3637
push 1
call fcn.1002896b
add esp, 0x30
push 0x694a
push 0x1fde
lea eax, [ebp - 0x80]
push eax
push 0x20fc
lea eax, [ebp - 0x14]
push eax
push 1
push 0x698c
push 1
push 0xd93
call fcn.10028e6e
add esp, 0x24
push 1
lea eax, [ebp - 0x20]
push eax
push 1
push 0x1e54
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x359
push 0xd59
call fcn.10028fb3
add esp, 0x28
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x618f
lea eax, [ebp - 0x10]
push eax
push 0x2fef
push 0x676c
push 0x4751
push 0x6797
call fcn.100285aa
add esp, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28c]
call fcn.1002144c
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call fcn.10021091
mov dword [ebp - 0x16c], eax
push dword [ebp - 0x16c]
mov eax, dword [ebp - 0x16c]
shr eax, 1
push eax
call fcn.100275b2
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x44], 1
mov byte [ebp - 0x43], 0xb5
mov byte [ebp - 0x42], 2
mov byte [ebp - 0x41], 8
mov byte [ebp - 0x40], 3
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0x42
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x44]
or eax, 0xd1
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x44]
and ecx, 0xd1
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [ebp + ecx - 0xa4], al
mov dword [ebp - 0x3c], 2
and dword [ebp - 0x160], 0
jmp 0x1002a382
mov eax, dword [ebp - 0x3c]
inc eax
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 8
jae 0x1002a3db
mov eax, dword [ebp - 0x3c]
movzx eax, byte [ebp + eax - 0x43]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x160]
movzx ecx, byte [ebp + ecx - 0x46]
movsx ecx, byte [ebp + ecx - 0xa4]
or eax, ecx
mov ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x43]
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x160]
movzx edx, byte [ebp + edx - 0x46]
movsx edx, byte [ebp + edx - 0xa4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [ebp + ecx - 0xa4], al
jmp 0x1002a37a
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0xa4], 0
cmp dword [ebp - 0x5c], 4
jle 0x1002a4a3
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x334]
call fcn.1002144c
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x5c]
sub eax, 4
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.100276a8
pop ecx
pop ecx
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x19c]
mov edx, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x34c]
call fcn.1002b7d5
pop ecx
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x140], eax
jmp 0x1002a4cf
push dword [ebp - 0x5c]
lea eax, [ebp - 0x2d4]
push eax
call fcn.100276a8
pop ecx
pop ecx
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x1b0], eax
push dword [ebp - 0x1b0]
lea ecx, [ebp - 0x2a4]
call fcn.1002b369
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x1002a50a
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x2d4]
call fcn.1002146f
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1002a525
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x34c]
call fcn.1002146f
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x1002a540
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x304]
call fcn.1002146f
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x1002a55b
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x334]
call fcn.1002146f
and dword [ebp - 0xc0], 0
jmp 0x1002a571
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 5
jae 0x1002a58a
mov eax, dword [ebp - 0xc0]
mov byte [ebp + eax - 0xa4], 0
jmp 0x1002a564
lea eax, [ebp - 0x14]
push eax
push 1
push 0x2c5
push 0x5f34
push 0x32de
lea eax, [ebp - 0x10]
push eax
push 0x4e5d
push 0x2eac
push 0x1987
push 1
push 0x738b
push 0x1bad
push 0
push 0x2417
call fcn.10027dec
add esp, 0x38
push 0
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.1002b3cf
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x10], eax
push 0x2ab0
push 0x6b3e
push 0x4620
push 0x37f3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x7041
push 0x4612
push 1
push 0x4742
push 1
push 1
call fcn.10027c8c
add esp, 0x34
push 0x21d2
push 1
push 0x6cd2
push 0x4ea2
lea eax, [ebp - 0x10]
push eax
push 0x1c0a
push 0x46ee
push 0x1a4b
push 0x609c
push 1
push 0x565a
push 0x7d57
push 1
push 0xab7
call fcn.10027dec
add esp, 0x38
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1002a6d2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1002a6a6
mov dword [ebp - 0x11c], 0xc
jmp 0x1002a6c4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x14c], eax
jmp 0x1002a6d9
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x124], eax
and dword [ebp - 0xb0], 0
jmp 0x1002a6fb
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax + 0x18]
jae 0x1002a853
push dword [ebp - 0x124]
mov eax, dword [ebp - 0x124]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.100275b2
pop ecx
pop ecx
mov dword [ebp - 0x108], eax
push dword [ebp - 0x108]
lea eax, [ebp - 0x2bc]
push eax
call fcn.100276a8
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push 0x7e8d
push 0x9c3
push 0x6bed
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x3341
push 0x5d49
push 1
lea eax, [ebp - 0x20]
push eax
push 0x6817
push 1
push 1
lea eax, [ebp - 0x14]
push eax
push 0x5c29
call fcn.10027f8a
add esp, 0x3c
push 0x2619
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push 1
push 0x38ff
call fcn.1002912d
add esp, 0x24
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x24]
push eax
push 0x7fde
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push 0x66da
push 0x1155
push 0x7364
push 0x4af6
call fcn.10028465
add esp, 0x2c
push 0x1eba
push 0x5288
push 1
push 0x91d
push 0x610c
push 1
push 1
push 0x204
push 0x3597
push 0x5b85
push 0x7ee
push 0x38df
lea eax, [ebp - 0x10]
push eax
push 0x611c
call fcn.100293b3
add esp, 0x38
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2bc]
call fcn.1002146f
jmp 0x1002a6ee
and dword [ebp - 0x68], 0
jmp 0x1002a860
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x68], eax
jae 0x1002a887
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
jmp 0x1002a859
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.1002146f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.1002146f
jmp 0x1002ab37
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
jmp 0x1002a914
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jg 0x1002ab37
mov dword [ebp - 0x54], 0xfff6
cmp dword [ebp - 0x54], 0
jne 0x1002a93e
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x1002a93e
and dword [ebp - 0x164], 0
jmp 0x1002a948
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x164], eax
jle 0x1002a95f
mov dword [ebp - 0x12c], 1
jmp 0x1002a966
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x12c]
jl 0x1002a97d
mov dword [ebp - 0x154], 1
jmp 0x1002a984
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0
jle 0x1002a999
mov dword [ebp - 0x20c], 1
jmp 0x1002a9a0
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0xfc]
call fcn.1002154c
cmp dword [eax], 0xfffffffd
je 0x1002a9c1
mov dword [ebp - 0x134], 1
jmp 0x1002a9c8
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0xfc]
call fcn.1002154c
mov eax, dword [eax]
cmp eax, dword [ebp - 0x134]
jne 0x1002a9f1
cmp dword [ebp - 0x54], 0
jne 0x1002a9f1
and dword [ebp - 0x158], 0
jmp 0x1002a9fb
mov dword [ebp - 0x158], 1
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0xfc]
call fcn.1002154c
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [eax]
jg 0x1002aa21
mov dword [ebp - 0x13c], 1
jmp 0x1002aa28
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x13c], eax
je 0x1002aa42
cmp dword [ebp - 0x54], 0
jne 0x1002aa42
and dword [ebp - 0x15c], 0
jmp 0x1002aa4c
mov dword [ebp - 0x15c], 1
cmp dword [ebp - 0x15c], 9
jne 0x1002aa61
mov dword [ebp - 0x144], 1
jmp 0x1002aa68
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0xfc35
jle 0x1002aa80
mov dword [ebp - 0x114], 1
jmp 0x1002aa87
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 1
je 0x1002aa9c
mov dword [ebp - 0x118], 1
jmp 0x1002aaa3
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 3
jg 0x1002aab8
mov dword [ebp - 0x120], 1
jmp 0x1002aabf
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp dword [ebp - 0x120], eax
je 0x1002aad8
mov dword [ebp - 0x128], 1
jmp 0x1002aadf
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp dword [ebp - 0x128], eax
jl 0x1002aaf8
mov dword [ebp - 0x130], 1
jmp 0x1002aaff
and dword [ebp - 0x130], 0
imul eax, dword [ebp - 0x130], 0x52a2
imul eax, eax, 0
cmp eax, 0xfffffff8
jge 0x1002ab1d
mov dword [ebp - 0x110], 1
jmp 0x1002ab24
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x110]
mov dword [eax], ecx
jmp 0x1002a909
jmp 0x1002b17f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1f8]
movzx eax, byte [eax]
test eax, eax
je 0x1002abdc
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x104]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
push dword [eax + 0x14]
call fcn.100275b2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx], eax
jmp 0x1002b17f
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x38], 0x540d7f82
mov dword [ebp - 0x38], 0x10
jmp 0x1002ac0b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x1d
jge 0x1002ac76
push 0x18e4
push 0x6e3e
push 0
push 0x3814
push 0x4319
push 0x7bac
call fcn.10028f83
add esp, 0x18
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1002ac74
push 0x59f6
push 0x412f
push 0xcd6
push 0
push 0x14af
push 0
push 0x2787
push 0x512c
push 0x5ee1
push 0x3595
call fcn.10027a05
add esp, 0x28
jmp 0x1002ac04
mov dword [ebp - 0x38], 0x11
jmp 0x1002ac86
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffff8
jl 0x1002ade9
push 1
lea ecx, [ebp - 0x220]
call fcn.100214ae
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x50], 0x72759951
push 1
push 0xc7f
lea eax, [ebp - 0x220]
push eax
push 1
push 0x1bbb
push 0
push 0xddc
push 0x2c01
push 0x525d
lea eax, [ebp - 0x240]
push eax
push 0x58cc
call fcn.10028465
add esp, 0x2c
mov dword [ebp - 0x50], 0
jmp 0x1002acf5
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1002add5
mov dword [ebp - 0xb8], 0
jmp 0x1002ad18
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
jge 0x1002ad34
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0x18c], 0xf3d4e677
jmp 0x1002ad0b
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x18c], 0
jmp 0x1002ad62
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x18c]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x18c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x18c], 0
jg 0x1002add0
push 0x74db
push 0x3a20
lea eax, [ebp - 0x220]
push eax
push 0x2180
push 0x74aa
push 0x5613
push 0x46fa
lea eax, [ebp - 0x50]
push eax
push 0x652c
push 0
push 0x45e
push 1
push 1
call fcn.10027c8c
add esp, 0x34
push dword [ebp - 0x50]
lea ecx, [ebp - 0x220]
call fcn.1002154c
cmp dword [eax], 0
je 0x1002adcb
jmp 0x1002ad47
jmp 0x1002ad47
jmp 0x1002acee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.10021530
jmp 0x1002ac7f
mov byte [ebp - 0xf8], 0xe
mov byte [ebp - 0xf7], pe_nt_image_headers32
mov byte [ebp - 0xf6], 0x16
mov byte [ebp - 0xf5], 0x18
mov byte [ebp - 0xf4], 0x19
mov byte [ebp - 0xf3], 0xd
mov byte [ebp - 0xf2], 0xd
mov byte [ebp - 0xf1], 0x14
mov byte [ebp - 0xf0], 0xf
mov byte [ebp - 0xef], 0x1e
mov byte [ebp - 0xee], 8
mov byte [ebp - 0xed], 0x19
mov byte [ebp - 0xec], 0x15
mov byte [ebp - 0xeb], 0x1f
mov byte [ebp - 0xea], 9
mov byte [ebp - 0xe9], 0x1c
mov byte [ebp - 0xe8], 0x13
mov byte [ebp - 0xe7], 0x1e
mov byte [ebp - 0xe6], 3
mov byte [ebp - 0xe5], 0x10
mov byte [ebp - 0xe4], 0x10
mov byte [ebp - 0xe3], 0x15
mov byte [ebp - 0xe2], 0
mov byte [ebp - 0xe1], 0x10
mov byte [ebp - 0xe0], 0xb
mov byte [ebp - 0xdf], 0xd
mov byte [ebp - 0xde], 0x17
mov byte [ebp - 0xdd], 0x14
mov byte [ebp - 0xdc], 0x18
mov byte [ebp - 0xdb], 1
mov byte [ebp - 0xda], 1
mov byte [ebp - 0xd9], 0x38
mov byte [ebp - 0xd8], 0xa
mov byte [ebp - 0xd7], 0x12
mov byte [ebp - 0xd6], 0x12
mov byte [ebp - 0xd5], 0x18
mov byte [ebp - 0xd4], 2
mov byte [ebp - 0xd3], 0x10
mov byte [ebp - 0xd2], 4
mov byte [ebp - 0xd1], 6
mov byte [ebp - 0xd0], 5
mov byte [ebp - 0xcf], 3
mov byte [ebp - 0xce], 7
mov byte [ebp - 0xcd], 0xe
mov byte [ebp - 0xcc], 6
mov byte [ebp - 0xcb], 0xf
mov byte [ebp - 0xca], 1
mov byte [ebp - 0xc9], 5
mov byte [ebp - 0xc8], 0x14
mov byte [ebp - 0xc7], 0x17
mov byte [ebp - 0xc6], 0x11
mov byte [ebp - 0xc5], 7
mov byte [ebp - 0xc4], 0xc
mov byte [ebp - 0xc3], 0x1f
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xf8]
or eax, 0x87
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xf8]
and ecx, 0x87
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xf8]
mov byte [ebp + ecx - 0x23c], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x64], 0
jmp 0x1002afb6
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x36
jae 0x1002b085
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xf8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1002affd
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xf8]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xf8]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1002afae
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xf7]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x64]
movzx ecx, byte [ebp + ecx - 0xfa]
movsx ecx, byte [ebp + ecx - 0x23c]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0xf7]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x64]
movzx edx, byte [ebp + edx - 0xfa]
movsx edx, byte [ebp + edx - 0x23c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0xf7]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x64]
movzx edx, byte [ebp + edx - 0xfa]
movsx edx, byte [ebp + edx - 0x23c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0xf8]
mov byte [ebp + ecx - 0x23c], al
and dword [ebp - 0x64], 0
jmp 0x1002afae
xor eax, eax
inc eax
imul eax, eax, 0x1a
mov byte [ebp + eax - 0x23c], 0
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x274]
call fcn.1002144c
mov dword [ebp - 4], 0xc
and dword [ebp - 0xa8], 0
jmp 0x1002b0c2
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x1b
jae 0x1002b0db
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0x23c], 0
jmp 0x1002b0b5
push 0x10007679
lea ecx, [ebp - 0x25c]
call fcn.1002144c
mov byte [ebp - 4], 0xd
push 0x412
push 0x4659
push 0x4a0a
push 0x6685
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x274]
push eax
push 0
push 0
push 0x4870
push dword [ebp - 0x194]
call fcn.10027b08
add esp, 0x2c
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x198]
call fcn.1002b3b1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x25c]
call fcn.1002146f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.1002146f
jmp 0x1002b17f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret