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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push esi
and dword [ebp - 0x14], 0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003fe1a
lea eax, [ebp + 0x10]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x1003fdb2
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003ef4b
jmp 0x1003ff0b
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x4550
je 0x1003ef6a
jmp 0x1003ff0b
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1003ef88
jmp 0x1003ff0b
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xbc], eax
push 0x55a2
push 0
push 0x3ac4
push 0x7dd2
push 0
push 0x60a2
push 1
push 0x160b
push 0x3d8f
push 0x6a7c
push 0x43d5
lea eax, [ebp - 0x40]
push eax
push 0x2dc0
push 0x5b41
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xbc]
push eax
push 0xfab
push 0x4cb5
lea eax, [ebp - 0x24]
push eax
call fcn.1003e70a
add esp, 0x4c
cmp dword [ebp - 0x24], 0
jne 0x1003f008
jmp 0x1003ff0b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
call fcn.1003a8af
push eax
call fcn.100601c8
pop ecx
mov byte [ebp - 0x5c], 6
mov byte [ebp - 0x5b], 0x9d
mov byte [ebp - 0x5a], 0
mov byte [ebp - 0x59], 0
mov byte [ebp - 0x58], 8
mov byte [ebp - 0x57], 1
mov byte [ebp - 0x56], 3
mov byte [ebp - 0x55], 7
mov byte [ebp - 0x54], 9
mov byte [ebp - 0x53], 7
mov byte [ebp - 0x52], 5
mov byte [ebp - 0x51], 1
mov byte [ebp - 0x50], 7
mov byte [ebp - 0x4f], 7
mov byte [ebp - 0x4e], 2
mov byte [ebp - 0x4d], 0x31
mov byte [ebp - 0x4c], 0xef
mov byte [ebp - 0x4b], 1
mov byte [ebp - 0x4a], 3
mov byte [ebp - 0x49], 2
mov byte [ebp - 0x48], 2
mov byte [ebp - 0x47], 4
mov byte [ebp - 0x46], 0xf
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x5c]
or eax, 0xac
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x5c]
and ecx, 0xac
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x5c]
mov byte [ebp + ecx - 0xe0], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x84], 0
jmp 0x1003f0cd
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x17
jae 0x1003f1aa
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x5c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1003f10e
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x5c]
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x5c]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1003f0c5
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x5b]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x84]
movzx ecx, byte [ebp + ecx - 0x5e]
movsx ecx, byte [ebp + ecx - 0xe0]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x5b]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x84]
movzx edx, byte [ebp + edx - 0x5e]
movsx edx, byte [ebp + edx - 0xe0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x5b]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x84]
movzx edx, byte [ebp + edx - 0x5e]
movsx edx, byte [ebp + edx - 0xe0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x5c]
mov byte [ebp + ecx - 0xe0], al
push 1
push 0x47bc
lea eax, [ebp - 0x84]
push eax
push 0x6f69
push 1
push 0
push 0x4c4
call fcn.1003d31b
add esp, 0x1c
jmp 0x1003f0c5
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xe0], 0
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x214]
call fcn.100400d0
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x148]
call fcn.1003a874
pop ecx
mov dword [ebp - 0x16c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.1001b989
and dword [ebp - 0xac], 0
jmp 0x1003f21b
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x1003f234
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0xe0], 0
jmp 0x1003f20e
mov byte [ebp - 0x78], 8
mov byte [ebp - 0x77], 0x28
mov byte [ebp - 0x76], 2
mov byte [ebp - 0x75], 7
mov byte [ebp - 0x74], 5
mov byte [ebp - 0x73], 6
mov byte [ebp - 0x72], 6
mov byte [ebp - 0x71], 8
mov byte [ebp - 0x70], 7
mov byte [ebp - 0x6f], 0xf
mov byte [ebp - 0x6e], 0
mov byte [ebp - 0x6d], 7
mov byte [ebp - 0x6c], 9
mov byte [ebp - 0x6b], 1
mov byte [ebp - 0x6a], 1
mov byte [ebp - 0x69], 6
mov byte [ebp - 0x68], 3
mov byte [ebp - 0x67], 4
mov byte [ebp - 0x66], 4
mov byte [ebp - 0x65], 0x23
mov byte [ebp - 0x64], 8
mov byte [ebp - 0x63], 0xac
mov byte [ebp - 0x62], 0xcb
mov byte [ebp - 0x61], 4
mov byte [ebp - 0x60], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x78]
or eax, 0x18
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x78]
and ecx, 0x18
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x78]
mov byte [ebp + ecx - 0xec], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x8c], 0
jmp 0x1003f2e0
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x19
jae 0x1003f3c7
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x78]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1003f321
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x78]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x78]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1003f2d8
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x77]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x8c]
movzx ecx, byte [ebp + ecx - 0x7a]
movsx ecx, byte [ebp + ecx - 0xec]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x77]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x8c]
movzx edx, byte [ebp + edx - 0x7a]
movsx edx, byte [ebp + edx - 0xec]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x77]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x8c]
movzx edx, byte [ebp + edx - 0x7a]
movsx edx, byte [ebp + edx - 0xec]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x78]
mov byte [ebp + ecx - 0xec], al
push 1
push 0x3bc5
push 1
push 0x84a
push 0x760f
push 0x6454
lea eax, [ebp - 0x8c]
push eax
push 1
push 0x2449
call fcn.1003d0b1
add esp, 0x24
jmp 0x1003f2d8
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xec], 0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x25c]
call fcn.100400d0
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x158]
call fcn.1003a874
pop ecx
mov dword [ebp - 0x180], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.1001b989
and dword [ebp - 0xa0], 0
jmp 0x1003f43b
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xb
jae 0x1003f454
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0xec], 0
jmp 0x1003f42e
push dword [ebp - 0x180]
push dword [ebp - 0x16c]
call fcn.1003bd88
pop ecx
pop ecx
mov dword [ebp - 0xb8], eax
push 0
push 0x4b6a
push 0xc7a
push 0
push 1
push 0x537c
lea eax, [ebp - 0xb8]
push eax
push 0x57ae
push 0xdf5
lea eax, [ebp - 0x40]
push eax
push 0x14ae
push 0x37b4
push 0x6f1c
call fcn.1003ded5
add esp, 0x34
push 0x1962
push 1
push 0x7a46
push 0x7dea
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x8b9
push 0x53cc
push 1
call fcn.1003dbce
add esp, 0x24
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x1003f529
push 1
push 0x18fb
push 0x51d3
push 0
push 1
push 0x4b8c
push 0x2697
push 0x5204
lea eax, [ebp - 0x80]
push eax
push 0xfb1
push 0x4a5d
push 0x453d
lea eax, [ebp - 0x10]
push eax
call fcn.1003ded5
add esp, 0x34
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], eax
and dword [ebp - 0x98], 0
jmp 0x1003f554
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x44]
jge 0x1003f629
push 1
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x98]
push eax
push 1
push 1
lea eax, [ebp - 0x28]
push eax
push 0x1db7
lea eax, [ebp - 0xbc]
push eax
push 0x4360
push 0x27b4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x62a6
call fcn.1003ded5
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
push 1
push 0x428a
push 0x3ca4
push 0
push 0x6b3e
push 1
push 0x7c68
push 0x9aa
lea eax, [ebp - 0x18]
push eax
push 0x739a
push 0xa0e
lea eax, [ebp - 0x24]
push eax
push 0x7141
push 0x4837
push 0x1c73
push 0x78dc
lea eax, [ebp - 0xfc]
push eax
push 0x4cbe
call fcn.1003e70a
add esp, 0x4c
push 1
push 0x325a
push 0x5f0c
lea eax, [ebp - 0x18]
push eax
push 1
push 1
push 0x6620
call fcn.1003d31b
add esp, 0x1c
jmp 0x1003f547
push 0x26f5
lea eax, [ebp - 0x10]
push eax
push 0x6e22
push 0x5473
lea eax, [ebp - 0x80]
push eax
push 0
push 1
push 0x30b7
call fcn.1003e17a
add esp, 0x20
push 0x1dfa
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x80]
push eax
push 1
push 0x7cfc
push 0x3d44
push 1
push 0
push 0x40f7
push 0x766f
call fcn.1003eeb7
add esp, 0x2c
lea eax, [ebp - 0x24]
push eax
push 0x528
push 0x52e1
push 1
push 0x765d
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 0x1e07
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003e408
add esp, 0x2c
push 1
push 0x74a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x307a
push 0x19b9
push 0x2487
push 0x36d8
push 0x4c74
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.1003d64e
add esp, 0x2c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
push 1
push 0x65af
lea eax, [ebp - 0x24]
push eax
push 0
push 0x42
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003ecee
add esp, 0x24
push 0x7a29
push 0x124d
push 0x7a57
push 0x5687
push 1
lea eax, [ebp - 0x10]
push eax
push 0x458a
push 0xdc5
lea eax, [ebp - 0x44]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.1003da6c
add esp, 0x2c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1cc]
call fcn.100400d0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1cc]
call fcn.1001b588
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc4]
shr eax, 1
push eax
call fcn.1003bd88
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x3c], 1
mov byte [ebp - 0x3b], 0xa
mov byte [ebp - 0x3a], 3
mov byte [ebp - 0x39], 8
mov byte [ebp - 0x38], 2
mov byte [ebp - 0x37], 0xf7
mov byte [ebp - 0x36], 0x4f
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x34], 0x42
mov byte [ebp - 0x33], 2
mov byte [ebp - 0x32], 0x42
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x3c]
or eax, 0x6e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
and ecx, 0x6e
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x94], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xa8], 0
jmp 0x1003f818
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xb
jae 0x1003f8b6
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x3c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1003f859
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x3c]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x3c]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1003f810
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x3b]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xa8]
movzx ecx, byte [ebp + ecx - 0x3e]
movsx ecx, byte [ebp + ecx - 0x94]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xa8]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x94]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x94], al
and dword [ebp - 0xa8], 0
jmp 0x1003f810
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x94], 0
cmp dword [ebp - 0x88], 4
jle 0x1003f984
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x22c]
call fcn.100400d0
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x88]
sub eax, 4
push eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.1003cdf1
pop ecx
pop ecx
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x174]
mov edx, dword [ebp - 0x10c]
lea ecx, [ebp - 0x244]
call fcn.1004063c
pop ecx
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xd0], eax
jmp 0x1003f9b3
push dword [ebp - 0x88]
lea eax, [ebp - 0x1e4]
push eax
call fcn.1003cdf1
pop ecx
pop ecx
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x1b4]
call fcn.1001b53c
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x14]
and eax, 8
je 0x1003f9ee
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x1e4]
call fcn.1001b989
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
and eax, 4
je 0x1003fa09
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x244]
call fcn.1001b989
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x1003fa24
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x1fc]
call fcn.1001b989
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1003fa3f
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x22c]
call fcn.1001b989
and dword [ebp - 0xa4], 0
jmp 0x1003fa55
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 5
jae 0x1003fa6e
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0x94], 0
jmp 0x1003fa48
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x6867
push 1
push 1
push 0x6e20
push 0x301c
push 0x1978
call fcn.1003e5ad
add esp, 0x24
push 0
push dword [ebp - 0x88]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1b4]
call fcn.10040129
push 0x31b
push 1
push 0x57e4
push 0x3691
push 1
push 0x7732
push 1
push 0x7ce5
push 0x50f1
push 0x6d22
lea eax, [ebp - 0x88]
push eax
push 0x4b0d
push 0x431c
push 0xb51
push 0x40ec
push 0xb38
lea eax, [ebp - 0x18]
push eax
push 0x4939
push 0xec1
call fcn.1003e70a
add esp, 0x4c
push 1
push 0x2df6
push 0xfc2
push 0x48de
push 0x485e
push 0x466c
push 1
push 0x328f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x13a3
push 0x628
call fcn.1003d84f
add esp, 0x34
push 0x63fc
push 0x2a95
push 1
push 1
push 1
push 0x5a76
push 0x278e
lea eax, [ebp - 0x18]
push eax
call fcn.1003ea00
add esp, 0x20
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x1003fbdb
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1003fbaf
mov dword [ebp - 0xcc], 0xc
jmp 0x1003fbcd
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb4], eax
jmp 0x1003fbe2
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd4], eax
and dword [ebp - 0x9c], 0
jmp 0x1003fc04
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax + 0x18]
jae 0x1003fd2c
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1003bd88
pop ecx
pop ecx
mov dword [ebp - 0xb0], eax
push dword [ebp - 0xb0]
lea eax, [ebp - 0x19c]
push eax
call fcn.1003cdf1
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax*4], edx
push 0
push dword [ebp - 0xb0]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x19c]
call fcn.10040129
push 0x1a06
push 1
push 0x6f90
lea eax, [ebp - 0xb0]
push eax
push 1
push 0
lea eax, [ebp - 0x18]
push eax
push 0x4a94
push 0x46cd
call fcn.1003e5ad
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
push 0x76c8
push 0x5a6a
lea eax, [ebp - 0x24]
push eax
push 0x58dd
lea eax, [ebp - 0x28]
push eax
push 0x67c4
push 1
push 1
push 0x2323
push 0x50a4
call fcn.1003ebee
add esp, 0x2c
push 0x1234
push 0x5e79
push 0x4669
push 0x3327
push 0x118f
lea eax, [ebp - 0x18]
push eax
push 1
push 1
push 0x4e7a
push 0x3501
call fcn.1003d992
add esp, 0x28
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x19c]
call fcn.1001b989
jmp 0x1003fbf7
and dword [ebp - 0xc8], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc8]
push eax
push 1
push 0x7b92
lea eax, [ebp - 0x24]
push eax
push 0x41a5
push 0x88b
push 1
push 0x235a
call fcn.1003da6c
add esp, 0x2c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc8]
push eax
push 1
push 0
push 1
push 0x75a
push 0x719c
push 0x45e8
call fcn.1003ea00
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.1001b989
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.1001b989
jmp 0x1003fe15
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x170]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x13c]
mov eax, dword [eax + 0x18]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x160]
mov dword [ecx], eax
jmp 0x1003ff0b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x118], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x144]
movzx eax, byte [eax]
test eax, eax
je 0x1003fea8
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
call fcn.100601a7
mov esi, eax
mov ecx, dword [ebp - 0x100]
call fcn.1001b588
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
mov eax, dword [ebp - 0x108]
mov dword [eax], edx
jmp 0x1003ff0b
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax], 0
jmp 0x1003feeb
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 2
jge 0x1003ff0b
mov eax, dword [ebp - 0x7c]
push dword [eax]
mov ecx, dword [ebp - 0x130]
call fcn.1001baba
mov dword [eax], 0xdcec
jmp 0x1003fee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret