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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077ba5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
and dword [ebp - 0x10], 0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003ec8a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x118], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x140]
movzx eax, byte [eax]
test eax, eax
je 0x1003ec04
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003de87
jmp 0x1003ecee
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0x4550
je 0x1003dea6
jmp 0x1003ecee
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1003dec4
jmp 0x1003ecee
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xb4], eax
push 0x351b
push 0x3dfc
lea eax, [ebp - 0x24]
push eax
push 1
push 1
push 0x1630
lea eax, [ebp - 0x30]
push eax
push 0x3d24
push 0x4277
push 0x3122
push 0x3690
push 0x5dc4
push 0xa70
lea eax, [ebp - 0x3c]
push eax
push 0x768c
push 0x50f1
lea eax, [ebp - 0xb4]
push eax
push 0x3c68
push 0x1015
push 0xa39
call fcn.1003c4ea
add esp, 0x50
cmp dword [ebp - 0x24], 0
jne 0x1003df4c
jmp 0x1003ecee
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.100391f2
push eax
call fcn.1005f092
pop ecx
mov byte [ebp - 0x60], 2
mov byte [ebp - 0x5f], 0xbe
mov byte [ebp - 0x5e], 5
mov byte [ebp - 0x5d], 6
mov byte [ebp - 0x5c], 8
mov byte [ebp - 0x5b], 1
mov byte [ebp - 0x5a], 2
mov byte [ebp - 0x59], 0x6d
mov byte [ebp - 0x58], 0xec
mov byte [ebp - 0x57], 7
mov byte [ebp - 0x56], 6
mov byte [ebp - 0x55], 1
mov byte [ebp - 0x54], 3
mov byte [ebp - 0x53], 4
mov byte [ebp - 0x52], 0xd
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x50], 9
mov byte [ebp - 0x4f], 6
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4d], 3
mov byte [ebp - 0x4c], 6
mov byte [ebp - 0x4b], 9
mov byte [ebp - 0x4a], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x60]
or eax, 0x89
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x60]
and ecx, 0x89
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x60]
mov byte [ebp + ecx - 0xd8], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x84], 0
jmp 0x1003e011
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x17
jae 0x1003e10a
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x60]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1003e052
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x60]
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x60]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1003e009
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x5f]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x84]
movzx ecx, byte [ebp + ecx - 0x62]
movsx ecx, byte [ebp + ecx - 0xd8]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x5f]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x84]
movzx edx, byte [ebp + edx - 0x62]
movsx edx, byte [ebp + edx - 0xd8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x5f]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x84]
movzx edx, byte [ebp + edx - 0x62]
movsx edx, byte [ebp + edx - 0xd8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x60]
mov byte [ebp + ecx - 0xd8], al
push 0x1d92
push 1
push 0x68dc
push 1
push 0x486d
push 0x6722
push 0x1e22
push 0x58ec
lea eax, [ebp - 0x84]
push eax
push 0x6d7e
push 0x5fbb
push 0x15ad
call fcn.1003c968
add esp, 0x30
jmp 0x1003e009
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xd8], 0
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.1003efdc
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x12c]
call fcn.100391b7
pop ecx
mov dword [ebp - 0xf0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.1003791a
and dword [ebp - 0x98], 0
jmp 0x1003e17b
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xb
jae 0x1003e194
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0xd8], 0
jmp 0x1003e16e
mov byte [ebp - 0x7c], 9
mov byte [ebp - 0x7b], 0x7c
mov byte [ebp - 0x7a], 1
mov byte [ebp - 0x79], 6
mov byte [ebp - 0x78], 2
mov byte [ebp - 0x77], 1
mov byte [ebp - 0x76], 7
mov byte [ebp - 0x75], 1
mov byte [ebp - 0x74], 5
mov byte [ebp - 0x73], 7
mov byte [ebp - 0x72], 8
mov byte [ebp - 0x71], 1
mov byte [ebp - 0x70], 3
mov byte [ebp - 0x6f], 2
mov byte [ebp - 0x6e], 6
mov byte [ebp - 0x6d], 0xb
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0x6b], 8
mov byte [ebp - 0x6a], 4
mov byte [ebp - 0x69], 5
mov byte [ebp - 0x68], 4
mov byte [ebp - 0x67], 0x3b
mov byte [ebp - 0x66], 0x2b
mov byte [ebp - 0x65], 0xfa
mov byte [ebp - 0x64], 0x5a
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x7c]
or eax, 0x4c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
and ecx, 0x4c
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0xe4], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x8c], 0
jmp 0x1003e240
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x19
jae 0x1003e32f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x7c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1003e281
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x7c]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x7c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1003e238
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x7b]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x8c]
movzx ecx, byte [ebp + ecx - 0x7e]
movsx ecx, byte [ebp + ecx - 0xe4]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x8c]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0xe4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x8c]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0xe4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0xe4], al
push 0x1016
push 0
lea eax, [ebp - 0x8c]
push eax
push 0x1364
push 0x348d
push 0x6777
push 0x72c4
push 0x58b8
push 0x825
push 1
call fcn.1003d255
add esp, 0x28
jmp 0x1003e238
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xe4], 0
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x240]
call fcn.1003efdc
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x13c]
call fcn.100391b7
pop ecx
mov dword [ebp - 0x164], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.1003791a
and dword [ebp - 0x94], 0
jmp 0x1003e3a3
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xb
jae 0x1003e3bc
mov eax, dword [ebp - 0x94]
mov byte [ebp + eax - 0xe4], 0
jmp 0x1003e396
push dword [ebp - 0x164]
push dword [ebp - 0xf0]
call fcn.1003a8d5
pop ecx
pop ecx
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0xebe
push 0x2f3d
push 0x3456
push 1
push 0x59d4
push 0x35b1
push 0x4e37
push 1
call fcn.1003cb08
add esp, 0x28
lea eax, [ebp - 0xb0]
push eax
push 0x6644
push 1
push 0x736f
push 0x4e30
push 0x2965
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.1003c0ea
add esp, 0x20
and dword [ebp - 0x88], 0
push 1
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1003b6b2
add esp, 0x10
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 - 0x88]
mov dword [ebp - 0x40], eax
push 0x2d4d
push 1
push 1
push 0x5d1a
lea eax, [ebp - 0x40]
push eax
push 0x2a9f
lea eax, [ebp - 0x18]
push eax
push 0x7103
lea eax, [ebp - 0x24]
push eax
push 0x2396
lea eax, [ebp - 0xb4]
push eax
push 0x7c19
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003cc78
add esp, 0x38
push 0x3c35
lea eax, [ebp - 0x14]
push eax
push 0x4847
push 0x5c43
lea eax, [ebp - 0x88]
push eax
push 1
push 1
push 0x4493
call fcn.1003cf99
add esp, 0x20
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x2196
push 1
push 0
push 0xb74
push 0x5438
push 0x4a66
push 0x44e9
push 0x1ead
lea eax, [ebp - 0x40]
push eax
push 0x4a4b
push 0x3d9a
call fcn.1003c1e1
add esp, 0x34
and dword [ebp - 0xa4], 0
jmp 0x1003e534
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x40]
jge 0x1003e582
push 0x7c57
push 0x1367
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x6b88
push 1
push 0x6c6b
push 1
push 0x7728
lea eax, [ebp - 0x24]
push eax
push 1
push 0x4dc0
call fcn.1003bd43
add esp, 0x30
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x1003e527
push 0
push 0x4ed5
push 0x57ab
push 1
push 0x376e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x17d2
lea eax, [ebp - 0x18]
push eax
call fcn.1003c2fb
add esp, 0x24
push 0x41a0
push 1
lea eax, [ebp - 0x88]
push eax
push 0x975
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.1003d078
add esp, 0x18
push 0x34ad
push 1
push 0x32f2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x2e9c
push 1
call fcn.1003d255
add esp, 0x28
lea eax, [ebp - 0x18]
push eax
push 1
push 0x2dff
push 0x121d
lea eax, [ebp - 0x14]
push eax
push 0x5f8e
push 0x4383
lea eax, [ebp - 0x40]
push eax
push 1
push 1
push 0x28cb
call fcn.1003d5e9
add esp, 0x2c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.1003efdc
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1b0]
call fcn.100259c6
mov dword [ebp - 0xbc], eax
push dword [ebp - 0xbc]
mov eax, dword [ebp - 0xbc]
shr eax, 1
push eax
call fcn.1003a8d5
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 0x78
mov byte [ebp - 0x36], 2
mov byte [ebp - 0x35], 8
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x33], 0x42
mov byte [ebp - 0x32], 3
mov byte [ebp - 0x31], 0x42
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x38]
or eax, 0x1c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x38]
and ecx, 0x1c
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x38]
mov byte [ebp + ecx - 0x48], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xa0], 0
jmp 0x1003e6df
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 8
jae 0x1003e74e
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x37]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xa0]
movzx ecx, byte [ebp + ecx - 0x3a]
movsx ecx, byte [ebp + ecx - 0x48]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x37]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xa0]
movzx edx, byte [ebp + edx - 0x3a]
movsx edx, byte [ebp + edx - 0x48]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x37]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xa0]
movzx edx, byte [ebp + edx - 0x3a]
movsx edx, byte [ebp + edx - 0x48]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x38]
mov byte [ebp + ecx - 0x48], al
jmp 0x1003e6d7
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x48], 0
cmp dword [ebp - 0x80], 4
jle 0x1003e810
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x210]
call fcn.1003efdc
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x80]
sub eax, 4
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.1003b491
pop ecx
pop ecx
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x10]
or eax, 2
mov dword [ebp - 0x10], eax
push dword [ebp - 0x160]
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0x228]
call fcn.1003f56b
pop ecx
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x108], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x10]
or eax, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xc8], eax
jmp 0x1003e83c
push dword [ebp - 0x80]
lea eax, [ebp - 0x1c8]
push eax
call fcn.1003b491
pop ecx
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x10]
or eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x110], eax
push dword [ebp - 0x110]
lea ecx, [ebp - 0x198]
call fcn.1003efff
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x10]
and eax, 8
je 0x1003e877
and dword [ebp - 0x10], 0xfffffff7
lea ecx, [ebp - 0x1c8]
call fcn.1003791a
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
and eax, 4
je 0x1003e892
and dword [ebp - 0x10], 0xfffffffb
lea ecx, [ebp - 0x228]
call fcn.1003791a
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x10]
and eax, 2
je 0x1003e8ad
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x1e0]
call fcn.1003791a
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x1003e8c8
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x210]
call fcn.1003791a
and dword [ebp - 0x9c], 0
jmp 0x1003e8de
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 5
jae 0x1003e8f4
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0x48], 0
jmp 0x1003e8d1
push 0x7479
push 1
lea eax, [ebp - 0x18]
push eax
push 0x5d8
push 0x64ba
push 0x6c80
push 0x6b02
push 0x5499
push 0
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.1003d5e9
add esp, 0x2c
push 0xc0d
push 0x426c
push 0x2614
push 1
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1d93
lea eax, [ebp - 0x198]
push eax
push 0x305d
push 0x3b6e
lea eax, [ebp - 0x24]
push eax
call fcn.1003c1e1
add esp, 0x34
push 1
lea eax, [ebp - 0x18]
push eax
push 0x4c52
push 1
lea eax, [ebp - 0x80]
push eax
push 0x1c7c
push 0x6c86
push 0x727b
push 0x7d20
call fcn.1003c2fb
add esp, 0x24
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
push 0x10dc
lea eax, [ebp - 0x18]
push eax
push 0x614e
push 0x117b
push 1
push 0x6b7c
push 1
push 0x184d
push 0x210a
push 0x345a
call fcn.1003d81e
add esp, 0x28
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1003ea34
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 - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1003ea08
mov dword [ebp - 0xc4], 0xc
jmp 0x1003ea26
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 - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xac], eax
jmp 0x1003ea3b
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
and dword [ebp - 0x90], 0
jmp 0x1003ea5d
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax + 0x18]
jae 0x1003eb91
push dword [ebp - 0xcc]
mov eax, dword [ebp - 0xcc]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1003a8d5
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
push dword [ebp - 0xa8]
lea eax, [ebp - 0x180]
push eax
call fcn.1003b491
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax*4], edx
push 1
push 0x73dd
push 0x5656
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x3f1d
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 0x5ee6
push 0x6bb4
push 0x7bf2
push 0x366a
push 0x1044
lea eax, [ebp - 0x24]
push eax
call fcn.1003d9e7
add esp, 0x3c
push 0x50ce
push 0x7431
lea eax, [ebp - 0xa8]
push eax
push 0xe52
push 0x7594
push 1
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.1003cf99
add esp, 0x20
push 0x3a8c
push 0x16a7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x6a46
lea eax, [ebp - 0x24]
push eax
push 1
push 0x2be1
push 1
push 0x2018
call fcn.1003db5b
add esp, 0x28
push 1
push 0x7bf3
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.1003c409
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x180]
call fcn.1003791a
jmp 0x1003ea50
and dword [ebp - 0xc0], 0
push 0xdf9
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push 0x6324
push 0x5d21
lea eax, [ebp - 0x28]
push eax
push 0x1102
lea eax, [ebp - 0x24]
push eax
call fcn.1003dc56
add esp, 0x2c
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x198]
call fcn.1003791a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.1003791a
jmp 0x1003ec88
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x150]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x138]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x158]
add eax, dword [ecx]
mov ecx, dword [ebp - 0xec]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1003ecee
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
push 0x795
push dword [ebp - 0xf4]
push dword [ebp - 0xfc]
push dword [ebp - 0x104]
push 0x4c7
push dword [ebp - 0x10c]
push 1
push 0x1703
push dword [ebp - 0x114]
call fcn.1003c1a8
add esp, 0x24
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret