Function at 0x1002b063
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006eb55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x25c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x1c], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002c2e7
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x13c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x158]
movzx eax, byte [eax]
test eax, eax
je 0x1002c261
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002b106
jmp 0x1002c30a
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x1002b125
jmp 0x1002c30a
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x1002b143
jmp 0x1002c30a
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xcc], 0
jmp 0x1002b177
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x48]
add eax, 0x28
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xcc], eax
jge 0x1002b20d
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd8]
jb 0x1002b208
mov eax, dword [ebp - 0x44]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x48]
push dword [eax + 8]
call fcn.10029691
pop ecx
pop ecx
add eax, dword [ebp - 0xd8]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x150]
jae 0x1002b208
push 0x126a
push 1
lea eax, [ebp - 0x48]
push eax
push 0x1831
lea eax, [ebp - 0x20]
push eax
push 0x522f
push 0x49e0
push 0x4e10
push 0
push 0x21e2
push 0x1fca
call fcn.1002ae1a
add esp, 0x2c
jmp 0x1002b20d
jmp 0x1002b161
cmp dword [ebp - 0x20], 0
jne 0x1002b218
jmp 0x1002c30a
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.1002844d
push eax
call fcn.10057732
pop ecx
mov byte [ebp - 0x80], 6
mov byte [ebp - 0x7f], 0xf9
mov byte [ebp - 0x7e], 3
mov byte [ebp - 0x7d], 6
mov byte [ebp - 0x7c], 7
mov byte [ebp - 0x7b], 1
mov byte [ebp - 0x7a], 4
mov byte [ebp - 0x79], 0xe
mov byte [ebp - 0x78], 8
mov byte [ebp - 0x77], 8
mov byte [ebp - 0x76], 9
mov byte [ebp - 0x75], 0
mov byte [ebp - 0x74], 5
mov byte [ebp - 0x73], 1
mov byte [ebp - 0x72], 4
mov byte [ebp - 0x71], 0xc3
mov byte [ebp - 0x70], 0x5f
mov byte [ebp - 0x6f], 0x58
mov byte [ebp - 0x6e], 0x7f
mov byte [ebp - 0x6d], 2
mov byte [ebp - 0x6c], 6
mov byte [ebp - 0x6b], 0
mov byte [ebp - 0x6a], 6
mov byte [ebp - 0x69], 1
mov byte [ebp - 0x68], 4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x80]
and eax, 0xc8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x80]
or ecx, 0xc8
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x80]
mov byte [ebp + eax - 0x104], cl
mov dword [ebp - 0x28], 2
and dword [ebp - 0x98], 0
jmp 0x1002b2e5
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x19
jae 0x1002b3c9
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x80]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1002b326
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x80]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x80]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1002b2dd
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x98]
movzx eax, byte [ebp + eax - 0x82]
movsx eax, byte [ebp + eax - 0x104]
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x7f]
and ecx, eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x98]
movzx eax, byte [ebp + eax - 0x82]
movsx eax, byte [ebp + eax - 0x104]
mov edx, dword [ebp - 0x28]
movzx edx, byte [ebp + edx - 0x7f]
and edx, eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x98]
movzx eax, byte [ebp + eax - 0x82]
movsx eax, byte [ebp + eax - 0x104]
mov esi, dword [ebp - 0x28]
movzx ebx, byte [ebp + esi - 0x7f]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x80]
mov byte [ebp + eax - 0x104], bl
push 0x24a
push 0x336a
lea eax, [ebp - 0x98]
push eax
push 0x5553
push 0
push 0
call fcn.10029b31
add esp, 0x18
jmp 0x1002b2dd
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x104], 0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x224]
call fcn.1002c4eb
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x160], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x160]
call fcn.10028412
pop ecx
mov dword [ebp - 0x120], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.1002c533
and dword [ebp - 0xac], 0
jmp 0x1002b43a
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x1002b453
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0x104], 0
jmp 0x1002b42d
mov byte [ebp - 0x64], 3
mov byte [ebp - 0x63], 0x4a
mov byte [ebp - 0x62], 2
mov byte [ebp - 0x61], 5
mov byte [ebp - 0x60], 9
mov byte [ebp - 0x5f], 7
mov byte [ebp - 0x5e], 6
mov byte [ebp - 0x5d], 9
mov byte [ebp - 0x5c], 2
mov byte [ebp - 0x5b], 0x3d
mov byte [ebp - 0x5a], 0x11
mov byte [ebp - 0x59], 5
mov byte [ebp - 0x58], 8
mov byte [ebp - 0x57], 4
mov byte [ebp - 0x56], 5
mov byte [ebp - 0x55], 1
mov byte [ebp - 0x54], 2
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x52], 7
mov byte [ebp - 0x51], 7
mov byte [ebp - 0x50], 7
mov byte [ebp - 0x4f], 8
mov byte [ebp - 0x4e], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
and eax, 0x78
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
or ecx, 0x78
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
mov byte [ebp + eax - 0x110], cl
mov dword [ebp - 0x2c], 2
and dword [ebp - 0x88], 0
jmp 0x1002b4f7
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x17
jae 0x1002b5e1
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1002b538
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1002b4ef
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0x66]
movsx eax, byte [ebp + eax - 0x110]
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x63]
and ecx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0x66]
movsx eax, byte [ebp + eax - 0x110]
mov edx, dword [ebp - 0x2c]
movzx edx, byte [ebp + edx - 0x63]
and edx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0x66]
movsx eax, byte [ebp + eax - 0x110]
mov esi, dword [ebp - 0x2c]
movzx ebx, byte [ebp + esi - 0x63]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x64]
mov byte [ebp + eax - 0x110], bl
push 1
lea eax, [ebp - 0x88]
push eax
push 0x58bd
push 0x2ec6
push 0x6b09
push 0x14fa
push 0
push 0x172d
push 0x4919
call fcn.1002a91e
add esp, 0x24
jmp 0x1002b4ef
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x26c]
call fcn.1002c4eb
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x190], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x190]
call fcn.10028412
pop ecx
mov dword [ebp - 0x16c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.1002c533
and dword [ebp - 0xbc], 0
jmp 0x1002b655
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xb
jae 0x1002b66e
mov eax, dword [ebp - 0xbc]
mov byte [ebp + eax - 0x110], 0
jmp 0x1002b648
push dword [ebp - 0x16c]
push dword [ebp - 0x120]
call fcn.10029596
pop ecx
pop ecx
mov dword [ebp - 0xe0], eax
push 0
lea eax, [ebp - 0xe0]
push eax
push 0x283c
lea eax, [ebp - 0x44]
push eax
push 1
push 0x1527
push 0x43a4
call fcn.1002a84c
add esp, 0x1c
push 0x1921
lea eax, [ebp - 0x14]
push eax
push 0x7388
lea eax, [ebp - 0xe0]
push eax
push 1
push 0
call fcn.10029b31
add esp, 0x18
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1002b726
push 0x649a
push 0x2a5
push 0x124d
push 0
push 1
push 0x76
lea eax, [ebp - 0x14]
push eax
push 0x27f6
push 0x698b
push 0x7c3d
push 0x77fb
lea eax, [ebp - 0x94]
push eax
push 0x6c77
push 1
push 0x75f8
call fcn.1002a4b7
add esp, 0x3c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0x8c], 0
jmp 0x1002b754
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x4c]
jge 0x1002b841
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x8c], eax
jae 0x1002b7a9
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 1
lea eax, [ebp - 0x20]
push eax
push 0x22a6
push 0x35c7
lea eax, [ebp - 0xe8]
push eax
call fcn.1002a395
add esp, 0x24
jmp 0x1002b7cf
push 1
push 0x7e9b
push 0x1a7d
push 0x74c4
lea eax, [ebp - 0xe8]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.1002997e
add esp, 0x1c
push 0x226
push 0x7da7
lea eax, [ebp - 0x18]
push eax
push 1
push 1
push 0x4132
push 0x498f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xe8]
push eax
push 0x3f59
push 0x4734
push 0x6f2d
push 0x5205
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.1002a4b7
add esp, 0x3c
push 1
push 0x4ddb
push 1
lea eax, [ebp - 0x18]
push eax
push 0x37d7
push 0x147a
push 0x387d
call fcn.100296e6
add esp, 0x1c
jmp 0x1002b747
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5dd4
push 1
push 0x3a27
push 0x599c
push 0x48e0
push 0
call fcn.10029a47
add esp, 0x20
push 0x13e4
lea eax, [ebp - 0x4c]
push eax
push 0x2032
push 1
push 1
push 0x3385
push 0x67c6
push 0x938
push 0x5ef8
lea eax, [ebp - 0x94]
push eax
push 0x7b60
push 0x6612
lea eax, [ebp - 0x14]
push eax
push 1
push 0x56fd
call fcn.1002a4b7
add esp, 0x3c
and dword [ebp - 0xc8], 0
jmp 0x1002b8cc
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x4c]
jge 0x1002b938
push 0x32d4
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10b7
lea eax, [ebp - 0x24]
push eax
push 0x779c
push 0x955
push 1
lea eax, [ebp - 0x20]
push eax
push 0x4b0c
push 0x5db7
push 0x5d0b
call fcn.1002a9ca
add esp, 0x30
push 1
push 0x4e26
lea eax, [ebp - 0x18]
push eax
push 0x73bd
push 1
push 0x63f3
push 0x565
call fcn.1002a84c
add esp, 0x1c
jmp 0x1002b8bf
push 0x2c97
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x10c4
push 0x102f
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.1002afa8
add esp, 0x20
push 1
lea eax, [ebp - 0x14]
push eax
push 0x6ab4
lea eax, [ebp - 0x94]
push eax
push 0x4f92
push 1
push 0x1fc4
call fcn.1002997e
add esp, 0x1c
and dword [ebp - 0xc4], 0
jmp 0x1002b99b
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x4c]
jge 0x1002b9f4
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0x24]
add edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc4]
mov dx, word [edx + esi*2]
mov word [ecx + eax], dx
push 0xca1
push 0xdd3
lea eax, [ebp - 0x18]
push eax
push 1
push 0x3242
push 0x133c
push 0x6e0c
push 1
call fcn.10029a47
add esp, 0x20
jmp 0x1002b98e
push 1
push 0x2374
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0x5129
push 0x5803
push 0x1205
lea eax, [ebp - 0x4c]
push eax
push 0x39b0
push 0xadc
lea eax, [ebp - 0x18]
push eax
push 0x18aa
call fcn.10029c0b
add esp, 0x34
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 - 0x1dc]
call fcn.1002c4eb
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1dc]
call fcn.1002c56c
mov dword [ebp - 0xd4], eax
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
shr eax, 1
push eax
call fcn.10029596
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0x81
mov byte [ebp - 0x3e], 1
mov byte [ebp - 0x3d], 0xbc
mov byte [ebp - 0x3c], 2
mov byte [ebp - 0x3b], 0x42
mov byte [ebp - 0x3a], 3
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
and eax, 0xaf
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
or ecx, 0xaf
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
mov byte [ebp + eax - 0xa0], cl
mov dword [ebp - 0x30], 2
and dword [ebp - 0xb0], 0
jmp 0x1002baf2
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xa
jae 0x1002bd06
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x30], eax
jne 0x1002bc6e
mov dword [ebp - 0xdc], 0x7a13
mov dword [ebp - 0x18c], 0x10008120
cmp dword [ebp - 0xdc], 0x7dbc
jle 0x1002bbfc
push 0x6dc
push 0x608
push 0
push 0x35f
push 0
call dword [sym.imp.USER32.dll_GetMenuStringW]
and dword [ebp - 0xb4], 0
jmp 0x1002bb67
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x29a5
jge 0x1002bbfc
and dword [ebp - 0xb8], 0
jmp 0x1002bb8d
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x6bbe
jge 0x1002bbf7
and dword [ebp - 0xa4], 0
jmp 0x1002bbaf
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x4435
jge 0x1002bbf5
mov ecx, dword [ebp - 0xb8]
imul ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xb4]
shl eax, cl
cdq
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
push dword [ebp - 0x144]
push dword [ebp - 0x148]
mov ecx, 0x10616598
call fcn.10023499
jmp 0x1002bba2
jmp 0x1002bb80
jmp 0x1002bb5a
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0xdc], 0x77d4
jge 0x1002bc2b
mov edx, dword [ebp - 0x18c]
mov ecx, 0x10616598
call fcn.10026d57
jmp 0x1002bc47
mov dword [ebp - 4], 2
jmp 0x1002bc57
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x30], eax
jmp 0x1002baea
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xb0]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0xa0]
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x3f]
and ecx, eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xb0]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0xa0]
mov edx, dword [ebp - 0x30]
movzx edx, byte [ebp + edx - 0x3f]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x40]
mov byte [ebp + eax - 0xa0], dl
push 1
push 0x4cc5
push 0x5c46
push 1
push 1
push 0x6b2e
lea eax, [ebp - 0xb0]
push eax
push 0x4cd7
push 0x29eb
push 0x4a36
push 0x85d
push 0x5257
push 0x2a8c
call fcn.10029c0b
add esp, 0x34
jmp 0x1002baea
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0xa0], 0
cmp dword [ebp - 0x84], 4
jle 0x1002bdd4
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1002c4eb
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x84]
sub eax, 4
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100295c1
pop ecx
pop ecx
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
or eax, 2
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x130]
mov edx, dword [ebp - 0x178]
lea ecx, [ebp - 0x254]
call fcn.1002cfc8
pop ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
or eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0xf0], eax
jmp 0x1002be03
push dword [ebp - 0x84]
lea eax, [ebp - 0x1f4]
push eax
call fcn.100295c1
pop ecx
pop ecx
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x1c]
or eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x180], eax
push dword [ebp - 0x180]
lea ecx, [ebp - 0x1c4]
call fcn.1002327f
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
and eax, 8
je 0x1002be3e
and dword [ebp - 0x1c], 0xfffffff7
lea ecx, [ebp - 0x1f4]
call fcn.1002c533
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
and eax, 4
je 0x1002be59
and dword [ebp - 0x1c], 0xfffffffb
lea ecx, [ebp - 0x254]
call fcn.1002c533
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
and eax, 2
je 0x1002be74
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x20c]
call fcn.1002c533
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x1002be8f
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0x23c]
call fcn.1002c533
and dword [ebp - 0xc0], 0
jmp 0x1002bea5
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 5
jae 0x1002bebe
mov eax, dword [ebp - 0xc0]
mov byte [ebp + eax - 0xa0], 0
jmp 0x1002be98
push 1
push 0x2a10
push 0x1df5
lea eax, [ebp - 0x14]
push eax
push 0x2043
lea eax, [ebp - 0x18]
push eax
push 1
push 0x724b
push 0x1e98
call fcn.1002a91e
add esp, 0x24
push 0x97c
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0x14ff
push 0
push 1
push 0x7d15
push 0x54b0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c4]
push eax
push 0x5e08
push 0x5623
push 0x88
lea eax, [ebp - 0x20]
push eax
push 0xd9f
call fcn.10029f24
add esp, 0x40
lea eax, [ebp - 0x84]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0x773
push 0x13cc
push 1
push 0x5be6
push 0x3e1d
call fcn.1002a254
add esp, 0x20
lea eax, [ebp - 0x20]
push eax
push 0x5d59
push 0x6d76
push 0x782f
push 0x2b47
push 1
lea eax, [ebp - 0x24]
push eax
push 0x2f39
push 0
push 0x6b1b
lea eax, [ebp - 0x18]
push eax
push 0x51f9
push 0x2629
call fcn.10029dbc
add esp, 0x34
push 0x3d82
push 0x555e
push 0x7428
push 0
push 1
push 0xee8
push 0x5807
lea eax, [ebp - 0x18]
push eax
push 0x3a7c
call fcn.1002a395
add esp, 0x24
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1002c032
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1002c006
mov dword [ebp - 0xe4], 0xc
jmp 0x1002c024
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf8], eax
jmp 0x1002c039
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xec], eax
and dword [ebp - 0xa8], 0
jmp 0x1002c05b
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [eax + 0x18]
jae 0x1002c1d3
push dword [ebp - 0xec]
mov eax, dword [ebp - 0xec]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10029596
pop ecx
pop ecx
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xd0]
lea eax, [ebp - 0x1ac]
push eax
call fcn.100295c1
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x20]
push eax
push 1
push 0x3ceb
lea eax, [ebp - 0x14]
push eax
push 0x4fba
push 0x2cf7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0x13de
lea eax, [ebp - 0xa8]
push eax
call fcn.1002ae1a
add esp, 0x2c
push 0x52cc
push 0x64a1
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 0x2a2a
lea eax, [ebp - 0x1ac]
push eax
push 1
push 0x7604
push 0x165c
push 0x6b80
lea eax, [ebp - 0x24]
push eax
call fcn.10029dbc
add esp, 0x34
lea eax, [ebp - 0xd0]
push eax
push 0x20c0
push 1
push 0x11f8
push 0xece
push 1
push 1
push 0x25e7
push 0x79b2
push 0x3be0
push 0xeca
lea eax, [ebp - 0x18]
push eax
push 0x10ed
push 0x6c2a
push 0x49c4
push 0x6adf
call fcn.10029f24
add esp, 0x40
push 0xe9b
push 1
push 0x1398
push 0x4736
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002a254
add esp, 0x20
push 0x9dd
push 0x6445
push 0x6a2a
push 1
push 0x6789
lea eax, [ebp - 0x18]
push eax
push 0x504
push 1
call fcn.1002afa8
add esp, 0x20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1ac]
call fcn.1002c533
jmp 0x1002c04e
and dword [ebp - 0x90], 0
jmp 0x1002c1e9
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x90], eax
jae 0x1002c22c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x90]
push eax
push 0x6e16
push 1
push 0x4779
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.1002b063
add esp, 0x20
jmp 0x1002c1dc
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c4]
call fcn.1002c533
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.1002c533
jmp 0x1002c2e5
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x11c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x124]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x12c]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1002c30a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x134], eax
push 1
push dword [ebp - 0x134]
push 0x1411
push 0x7222
call fcn.1002a827
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret