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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007329b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003d266
lea eax, [ebp + 0x10]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x138]
movzx eax, byte [eax]
test eax, eax
je 0x1003d1e0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003c322
jmp 0x1003d293
mov eax, dword [ebp - 0xd0]
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 0x1003c341
jmp 0x1003d293
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
jne 0x1003c35f
jmp 0x1003d293
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 - 0xac], eax
lea eax, [ebp - 0xac]
push eax
push 0x3079
lea eax, [ebp - 0x44]
push eax
push 0x78a5
push 0
push 0x307e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x1ac2
push 1
call fcn.1003bead
add esp, 0x28
cmp dword [ebp - 0x20], 0
jne 0x1003c3b5
jmp 0x1003d293
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.1003843c
push eax
call fcn.1005a7b2
pop ecx
mov byte [ebp - 0x60], 4
mov byte [ebp - 0x5f], 0x95
mov byte [ebp - 0x5e], 3
mov byte [ebp - 0x5d], 0xf
mov byte [ebp - 0x5c], 8
mov byte [ebp - 0x5b], 7
mov byte [ebp - 0x5a], 2
mov byte [ebp - 0x59], 7
mov byte [ebp - 0x58], 7
mov byte [ebp - 0x57], 1
mov byte [ebp - 0x56], 3
mov byte [ebp - 0x55], 0x99
mov byte [ebp - 0x54], 0xc4
mov byte [ebp - 0x53], 0xf8
mov byte [ebp - 0x52], 6
mov byte [ebp - 0x51], 7
mov byte [ebp - 0x50], 9
mov byte [ebp - 0x4f], 1
mov byte [ebp - 0x4e], 1
mov byte [ebp - 0x4d], 5
mov byte [ebp - 0x4c], 0
mov byte [ebp - 0x4b], 4
mov byte [ebp - 0x4a], 5
mov byte [ebp - 0x49], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x60]
or eax, 0xad
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x60]
and ecx, 0xad
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x60]
mov byte [ebp + ecx - 0xe0], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x74], 0
jmp 0x1003c47b
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x18
jae 0x1003c551
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x60]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1003c4b9
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x60]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x60]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1003c473
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x5f]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x74]
movzx ecx, byte [ebp + ecx - 0x62]
movsx ecx, byte [ebp + ecx - 0xe0]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x5f]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x74]
movzx edx, byte [ebp + edx - 0x62]
movsx edx, byte [ebp + edx - 0xe0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x5f]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x74]
movzx edx, byte [ebp + edx - 0x62]
movsx edx, byte [ebp + edx - 0xe0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x60]
mov byte [ebp + ecx - 0xe0], al
push 0x5424
push 0x11ed
push 0x58e7
push 1
lea eax, [ebp - 0x74]
push eax
push 0x3461
push 0x72d6
push 1
call fcn.10039e4c
add esp, 0x20
jmp 0x1003c473
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xe0], 0
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.1003d450
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x128]
call fcn.10038401
pop ecx
mov dword [ebp - 0x15c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.10018936
and dword [ebp - 0xa8], 0
jmp 0x1003c5c2
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xb
jae 0x1003c5db
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0xe0], 0
jmp 0x1003c5b5
mov byte [ebp - 0x88], 7
mov byte [ebp - 0x87], 0x8d
mov byte [ebp - 0x86], 3
mov byte [ebp - 0x85], 4
mov byte [ebp - 0x84], 1
mov byte [ebp - 0x83], 4
mov byte [ebp - 0x82], 4
mov byte [ebp - 0x81], 2
mov byte [ebp - 0x80], 2
mov byte [ebp - 0x7f], 3
mov byte [ebp - 0x7e], 5
mov byte [ebp - 0x7d], 6
mov byte [ebp - 0x7c], 6
mov byte [ebp - 0x7b], 8
mov byte [ebp - 0x7a], 0
mov byte [ebp - 0x79], 8
mov byte [ebp - 0x78], 8
mov byte [ebp - 0x77], 1
mov byte [ebp - 0x76], 9
mov byte [ebp - 0x75], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x88]
or eax, 0xbb
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
and ecx, 0xbb
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0xec], al
mov dword [ebp - 0x30], 2
and dword [ebp - 0xb8], 0
jmp 0x1003c699
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x14
jae 0x1003c701
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x87]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xb8]
movzx ecx, byte [ebp + ecx - 0x8a]
movsx ecx, byte [ebp + ecx - 0xec]
or eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x87]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xb8]
movzx edx, byte [ebp + edx - 0x8a]
movsx edx, byte [ebp + edx - 0xec]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0xec], al
jmp 0x1003c691
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xec], 0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.1003d450
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0xf0]
call fcn.10038401
pop ecx
mov dword [ebp - 0x140], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.10018936
and dword [ebp - 0xa0], 0
jmp 0x1003c775
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xb
jae 0x1003c78e
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0xec], 0
jmp 0x1003c768
push dword [ebp - 0x140]
push dword [ebp - 0x15c]
call fcn.10039aa4
pop ecx
pop ecx
mov dword [ebp - 0xbc], eax
push 0x136f
push 0x58cf
push 0x5853
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xbc]
push eax
push 0
push 0x83e
call fcn.1003c010
add esp, 0x20
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xbc]
push eax
push 0x71d
push 0x2db2
push 0x5d09
push 0
call fcn.1003ab04
add esp, 0x1c
and dword [ebp - 0x70], 0
push 0
push 0x2141
push 0x2c81
lea eax, [ebp - 0x14]
push eax
push 1
push 1
lea eax, [ebp - 0x70]
push eax
push 0x24f2
call fcn.1003b500
add esp, 0x20
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 - 0x70]
mov dword [ebp - 0x48], eax
and dword [ebp - 0x68], 0
jmp 0x1003c843
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x48]
jge 0x1003c93e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x68], eax
jae 0x1003c8a5
push 0x40ea
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xeb9
push 0x32e6
lea eax, [ebp - 0x68]
push eax
push 1
push 0x4547
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0x6b73
push 0x381b
call fcn.1003a142
add esp, 0x38
jmp 0x1003c8ce
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0xac]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0xac]
push dword [eax + 0x14]
call fcn.10039aa4
pop ecx
pop ecx
mov dword [ebp - 0xd4], eax
push 0x75a3
push 0x3247
push 0x43d4
push 0x482b
lea eax, [ebp - 0xd4]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push 0x640c
push 0x458e
push 1
lea eax, [ebp - 0x24]
push eax
push 0x7f87
lea eax, [ebp - 0x10]
push eax
call fcn.1003b5e8
add esp, 0x34
push 0x1b5
push 0x4ad0
lea eax, [ebp - 0x10]
push eax
push 1
push 0x7d8d
push 0x272d
push 0
push 0x1bca
call fcn.1003c010
add esp, 0x20
jmp 0x1003c83c
push 0x4118
push 0x1652
push 0x3223
push 1
push 1
push 0x5ff9
lea eax, [ebp - 0x70]
push eax
push 1
push 0xd46
lea eax, [ebp - 0x14]
push eax
call fcn.10039f92
add esp, 0x28
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x24]
push eax
push 0x34ab
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x73e5
push 0x737
push 0x7593
push 0x1683
push 0x1ec7
push 0x33eb
push 0x3c92
push 0
push 0x3f2
push 1
push 0xda0
push 0x7aec
push 0x36b4
push 0x264b
push 1
lea eax, [ebp - 0x10]
push eax
push 0x63bb
call fcn.1003b0a7
add esp, 0x54
mov eax, dword [ebp - 0x48]
shl eax, 2
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], ecx
push 1
push 0x22fb
push 0x61fd
push 0x2fa5
push 0x74fc
push 0xcdc
push 1
push 0x111b
push 0x28ba
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x70]
push eax
push 0x306a
call fcn.1003b74f
add esp, 0x34
and dword [ebp - 0x94], 0
jmp 0x1003ca42
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x48]
jge 0x1003cac8
lea eax, [ebp - 0x94]
push eax
push 0x4393
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x74b
push 0x5b06
lea eax, [ebp - 0x24]
push eax
push 1
push 1
call fcn.1003bb94
add esp, 0x28
push 0x55d0
push 1
push 0x197a
push 0x3286
lea eax, [ebp - 0x10]
push eax
push 0x5614
push 0x42e1
push 1
push 0x1bfa
push 0x1439
push 0x5914
push 1
push 0x1a62
push 0x4618
call fcn.1003a142
add esp, 0x38
jmp 0x1003ca35
push 1
push 0x5284
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1192
push 0x10df
push 0
lea eax, [ebp - 0x48]
push eax
push 0x643
push 0xa78
push 1
push 0x77ac
push 0x5142
call fcn.1003b74f
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 - 0x1ac]
call fcn.1003d450
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1ac]
call fcn.1001b095
mov dword [ebp - 0xc8], eax
push dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc8]
shr eax, 1
push eax
call fcn.10039aa4
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0xdb
mov byte [ebp - 0x3e], 4
mov byte [ebp - 0x3d], 0xc9
mov byte [ebp - 0x3c], 0x80
mov byte [ebp - 0x3b], 0x99
mov byte [ebp - 0x3a], 0x49
mov byte [ebp - 0x39], 3
mov byte [ebp - 0x38], 0x42
mov byte [ebp - 0x37], 1
mov byte [ebp - 0x36], 8
mov byte [ebp - 0x35], 2
mov byte [ebp - 0x34], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
or eax, 0xf5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
and ecx, 0xf5
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x90], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0x9c], 0
jmp 0x1003cbcf
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xd
jae 0x1003ccc6
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1003cc10
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1003cbc7
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x3f]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x9c]
movzx ecx, byte [ebp + ecx - 0x42]
movsx ecx, byte [ebp + ecx - 0x90]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x3f]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x9c]
movzx edx, byte [ebp + edx - 0x42]
movsx edx, byte [ebp + edx - 0x90]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x90], al
push 0x114c
push 0x630e
push 0x75c2
push 0x3b1b
push 0x529
push 1
push 0x4d56
push 0x4de6
push 0x12b6
push 0x3fea
push 1
push 0x5568
lea eax, [ebp - 0x9c]
push eax
push 0x7020
push 0x709e
push 0x237
push 0x46b
push 1
push 0xe46
call fcn.1003a56e
add esp, 0x4c
jmp 0x1003cbc7
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x90], 0
cmp dword [ebp - 0x6c], 4
jle 0x1003cd8e
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1003d450
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
sub eax, 4
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10039d1b
pop ecx
pop ecx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x104]
mov edx, dword [ebp - 0x164]
lea ecx, [ebp - 0x1dc]
call fcn.1003d9df
pop ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xb4], eax
jmp 0x1003cdba
push dword [ebp - 0x6c]
lea eax, [ebp - 0x224]
push eax
call fcn.10039d1b
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x150], eax
push dword [ebp - 0x150]
lea ecx, [ebp - 0x194]
call fcn.1003d473
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x1003cdf5
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x224]
call fcn.10018936
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1003ce10
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x1dc]
call fcn.10018936
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x1003ce2b
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x20c]
call fcn.10018936
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x1003ce46
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x23c]
call fcn.10018936
and dword [ebp - 0x98], 0
jmp 0x1003ce5c
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 5
jae 0x1003ce75
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x90], 0
jmp 0x1003ce4f
push 0x2a1e
lea eax, [ebp - 0x10]
push eax
push 0
push 0x4655
push 0x781b
push 1
push 0x4a18
lea eax, [ebp - 0x14]
push eax
call fcn.1003c0db
add esp, 0x20
push 0x2fdf
push 1
push 0x541f
lea eax, [ebp - 0x6c]
push eax
push 0x1a38
push 0x785
lea eax, [ebp - 0x14]
push eax
push 0
push 0x6724
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x194]
push eax
push 0x5bd4
call fcn.1003bcbd
add esp, 0x34
push 0x9b2
push 0x3e6
push 0x7e25
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x6c]
push eax
push 0x3d56
push 0x25e
push 0x5b1
push 1
call fcn.1003bead
add esp, 0x28
push 0x5ce8
push 0x6d06
push 0xdf9
push 0x2b61
push 0x443c
push 0xfde
lea eax, [ebp - 0x20]
push eax
push 0x39fb
push 0x79c8
push 0x24a9
lea eax, [ebp - 0x10]
push eax
push 1
push 0x6f49
push 1
lea eax, [ebp - 0x24]
push eax
push 0x56a5
push 0x24c9
push 0x3705
push 0
push 0x69f1
push 0x227d
call fcn.1003b0a7
add esp, 0x54
push 0x1bf1
push 1
lea eax, [ebp - 0x10]
push eax
push 0x4ca2
push 0x4b71
push 1
push 0x54
push 0x6232
push 0x32d7
push 0x859
push 0x2e2e
call fcn.1003abf1
add esp, 0x2c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1003d008
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 0x1003cfdc
mov dword [ebp - 0xc0], 0xc
jmp 0x1003cffa
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 - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
jmp 0x1003d00f
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
and dword [ebp - 0xa4], 0
jmp 0x1003d031
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [eax + 0x18]
jae 0x1003d149
push dword [ebp - 0xcc]
mov eax, dword [ebp - 0xcc]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10039aa4
pop ecx
pop ecx
mov dword [ebp - 0xb0], eax
push dword [ebp - 0xb0]
lea eax, [ebp - 0x17c]
push eax
call fcn.10039d1b
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
push 0x6da4
lea eax, [ebp - 0x20]
push eax
push 0x342e
push 0x2c57
push 0x4788
lea eax, [ebp - 0x10]
push eax
push 0x75b3
lea eax, [ebp - 0xb0]
push eax
push 0x2644
lea eax, [ebp - 0x24]
push eax
push 0x1109
push 1
push 0x6ffe
push 1
push 0x6663
lea eax, [ebp - 0x17c]
push eax
push 0x4cb9
push 0x5eb6
push 1
push 0x6a4
push 0x2b1c
call fcn.1003b0a7
add esp, 0x54
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xb0]
mov dword [ebp - 0x10], eax
push 0x3d65
push 0x2a62
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x2371
call fcn.1003c0db
add esp, 0x20
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x17c]
call fcn.10018936
jmp 0x1003d024
and dword [ebp - 0x64], 0
jmp 0x1003d156
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], 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 - 0x64], eax
jae 0x1003d198
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x191e
push 0x1ee4
lea eax, [ebp - 0x64]
push eax
push 0x154a
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.1003c286
add esp, 0x24
jmp 0x1003d14f
push 1
push 0x33f7
lea eax, [ebp - 0x2c]
push eax
push 0x7126
push 1
push 1
push 0x17c5
lea eax, [ebp - 0x64]
push eax
call fcn.1003b500
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x194]
call fcn.10018936
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.10018936
jmp 0x1003d264
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf4]
add eax, dword [ecx]
mov ecx, dword [ebp - 0xf8]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x100]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1003d293
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x108], eax
push dword [ebp - 0x108]
push 0
push dword [ebp - 0x110]
push 0x1c2c
call fcn.10039f3b
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret