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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c0b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
and dword [ebp - 0x14], 0
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1005b691
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x1005b641
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1005a79e
jmp 0x1005b6b9
mov eax, dword [ebp - 0xd4]
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 0x1005a7bd
jmp 0x1005b6b9
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 0x1005a7db
jmp 0x1005b6b9
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 - 0xc4], eax
lea eax, [ebp - 0x24]
push eax
push 0x70e
lea eax, [ebp - 0x30]
push eax
push 0x4b52
push 0x4bc9
push 0x48fd
push 0x4b59
push 0x5ed5
push 1
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0xc4]
push eax
push 0x2f83
push 0x797
push 1
call fcn.100599c8
add esp, 0x3c
cmp dword [ebp - 0x24], 0
jne 0x1005a847
jmp 0x1005b6b9
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
call fcn.10057358
push eax
call fcn.10062ebc
pop ecx
mov byte [ebp - 0x94], 5
mov byte [ebp - 0x93], 0xc8
mov byte [ebp - 0x92], 8
mov byte [ebp - 0x91], 1
mov byte [ebp - 0x90], 1
mov byte [ebp - 0x8f], 5
mov byte [ebp - 0x8e], 6
mov byte [ebp - 0x8d], 4
mov byte [ebp - 0x8c], 7
mov byte [ebp - 0x8b], 7
mov byte [ebp - 0x8a], 9
mov byte [ebp - 0x89], 6
mov byte [ebp - 0x88], 4
mov byte [ebp - 0x87], 0x56
mov byte [ebp - 0x86], 0x3a
mov byte [ebp - 0x85], 0x82
mov byte [ebp - 0x84], 0xf6
mov byte [ebp - 0x83], 4
mov byte [ebp - 0x82], 8
mov byte [ebp - 0x81], 3
mov byte [ebp - 0x80], 0xf
mov byte [ebp - 0x7f], 2
mov byte [ebp - 0x7e], 0
mov byte [ebp - 0x7d], 0
mov byte [ebp - 0x7c], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x94]
or eax, 0xf9
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
and ecx, 0xf9
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0xf4], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xac], 0
jmp 0x1005a959
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x19
jae 0x1005aa2f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x94]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1005a9a3
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x94]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x94]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1005a951
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x93]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xac]
movzx ecx, byte [ebp + ecx - 0x96]
movsx ecx, byte [ebp + ecx - 0xf4]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x93]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xac]
movzx edx, byte [ebp + edx - 0x96]
movsx edx, byte [ebp + edx - 0xf4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0xf4], al
push 0
push 0x3084
push 0x6bd8
push 0xc48
push 1
lea eax, [ebp - 0xac]
push eax
push 0x7fe3
call fcn.100592cc
add esp, 0x1c
jmp 0x1005a951
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xf4], 0
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.10039b5e
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x114]
call fcn.1005731d
pop ecx
mov dword [ebp - 0x100], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.1001b8ce
and dword [ebp - 0xa8], 0
jmp 0x1005aaa0
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xb
jae 0x1005aab9
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0xf4], 0
jmp 0x1005aa93
mov byte [ebp - 0x64], 5
mov byte [ebp - 0x63], 0x35
mov byte [ebp - 0x62], 6
mov byte [ebp - 0x61], 8
mov byte [ebp - 0x60], 8
mov byte [ebp - 0x5f], 9
mov byte [ebp - 0x5e], 3
mov byte [ebp - 0x5d], 2
mov byte [ebp - 0x5c], 4
mov byte [ebp - 0x5b], 6
mov byte [ebp - 0x5a], 2
mov byte [ebp - 0x59], 3
mov byte [ebp - 0x58], 3
mov byte [ebp - 0x57], 0x50
mov byte [ebp - 0x56], 0x31
mov byte [ebp - 0x55], 0xd7
mov byte [ebp - 0x54], 9
mov byte [ebp - 0x53], 7
mov byte [ebp - 0x52], 7
mov byte [ebp - 0x51], 6
mov byte [ebp - 0x50], 1
mov byte [ebp - 0x4f], 0
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4d], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
or eax, 4
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
and ecx, 4
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0xe8], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x70], 0
jmp 0x1005ab5e
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x18
jae 0x1005ac0f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1005ab9c
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1005ab56
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x63]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x70]
movzx ecx, byte [ebp + ecx - 0x66]
movsx ecx, byte [ebp + ecx - 0xe8]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x70]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0xe8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x70]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0xe8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0xe8], al
and dword [ebp - 0x70], 0
jmp 0x1005ab56
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xe8], 0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x228]
call fcn.10039b5e
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x124]
call fcn.1005731d
pop ecx
mov dword [ebp - 0x14c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1001b8ce
and dword [ebp - 0xb0], 0
jmp 0x1005ac83
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0xb
jae 0x1005ac9c
mov eax, dword [ebp - 0xb0]
mov byte [ebp + eax - 0xe8], 0
jmp 0x1005ac76
push dword [ebp - 0x14c]
push dword [ebp - 0x100]
call fcn.100590dc
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
push 1
lea eax, [ebp - 0x40]
push eax
push 0x6d95
push 1
push 0x7507
push 0x3459
lea eax, [ebp - 0xc0]
push eax
push 0x1229
call fcn.10059f60
add esp, 0x20
push 0
push 1
push 0x7824
push 0x2f9f
push 0x744d
push 0x6108
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x48c6
call fcn.1005a421
add esp, 0x24
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x1005ad45
push 0
push 0x5f11
push 0x6a55
push 1
lea eax, [ebp - 0x18]
push eax
push 0x153b
push 0x4cb2
lea eax, [ebp - 0x6c]
push eax
call fcn.10059f60
add esp, 0x20
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
and dword [ebp - 0x98], 0
jmp 0x1005ad70
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x44]
jge 0x1005ae3a
push 0x7f88
lea eax, [ebp - 0x24]
push eax
push 0x5879
lea eax, [ebp - 0xc4]
push eax
push 0x422a
push 0x3c4e
lea eax, [ebp - 0x18]
push eax
push 0x5bb4
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0xcdc
push 0x1b1f
push 0x5683
push 1
push 0
lea eax, [ebp - 0x98]
push eax
push 0x623d
call fcn.10059431
add esp, 0x44
push 0x5b64
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
push 0x65ff
push 0
push 0x3a6b
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1005a32b
add esp, 0x24
push 0xc6e
push 0x7fe7
push 0
push 0x24a8
push 1
lea eax, [ebp - 0x10]
push eax
push 0x1f6c
push 0x1885
push 0x44ee
call fcn.10059370
add esp, 0x24
jmp 0x1005ad63
push 0x800
push 1
push 0x6fed
push 0x155b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x6f81
push 0x7326
push 0x55d
call fcn.1005a017
add esp, 0x2c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
and dword [ebp - 0xb8], 0
jmp 0x1005ae90
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x44]
jge 0x1005aeb3
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
and dword [ecx + eax], 0
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x1005ae83
push 0x7117
push 0x2dbd
push 1
push 0x1d42
push 0x685e
lea eax, [ebp - 0x10]
push eax
push 0x57e4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x67b5
push 0x714c
push 0
call fcn.10059660
add esp, 0x30
push 1
push 0x611a
lea eax, [ebp - 0x18]
push eax
push 0x586a
push 1
push 0x4556
lea eax, [ebp - 0x6c]
push eax
call fcn.100592cc
add esp, 0x1c
and dword [ebp - 0x9c], 0
jmp 0x1005af27
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x44]
jge 0x1005afa3
lea eax, [ebp - 0x28]
push eax
push 0x3c8e
push 1
push 0
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5a57
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb2
push 0x1b3f
call fcn.1005a5de
add esp, 0x2c
push 0x1b5e
push 1
push 0xa05
lea eax, [ebp - 0x10]
push eax
push 0x358d
push 0x7924
push 0
push 1
push 0x78c3
push 0x157f
push 0x73d
call fcn.1005a017
add esp, 0x2c
jmp 0x1005af1a
mov eax, dword [ebp - 0x44]
shl eax, 1
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x198]
call fcn.10039b5e
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x198]
call fcn.1001c235
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xcc]
mov eax, dword [ebp - 0xcc]
shr eax, 1
push eax
call fcn.100590dc
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x3c], 3
mov byte [ebp - 0x3b], 0x3f
mov byte [ebp - 0x3a], 2
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 8
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0x4a
mov byte [ebp - 0x34], 2
mov byte [ebp - 0x33], 0x28
mov byte [ebp - 0x32], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x3c]
or eax, 0x53
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
and ecx, 0x53
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x4c], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x74], 0
jmp 0x1005b06a
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xb
jae 0x1005b13b
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x3c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1005b0a8
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3c]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1005b062
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3b]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x74]
movzx ecx, byte [ebp + ecx - 0x3e]
movsx ecx, byte [ebp + ecx - 0x4c]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x74]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x4c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x74]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x4c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x4c], al
push 1
push 0x465b
push 0
push 0x3bcb
lea eax, [ebp - 0x74]
push eax
push 0x34d
push 0x7324
push 0x6d4d
push 0
push 0x5f20
call fcn.1005a166
add esp, 0x28
jmp 0x1005b062
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x4c], 0
cmp dword [ebp - 0x78], 4
jle 0x1005b1fd
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.10039b5e
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x78]
sub eax, 4
push eax
lea eax, [ebp - 0x1c8]
push eax
call fcn.10059116
pop ecx
pop ecx
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x110]
mov edx, dword [ebp - 0x130]
lea ecx, [ebp - 0x210]
call fcn.1005bd00
pop ecx
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0xd8], eax
jmp 0x1005b229
push dword [ebp - 0x78]
lea eax, [ebp - 0x1b0]
push eax
call fcn.10059116
pop ecx
pop ecx
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x140], eax
push dword [ebp - 0x140]
lea ecx, [ebp - 0x180]
call fcn.1005b8b2
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x14]
and eax, 8
je 0x1005b264
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x1b0]
call fcn.1001b8ce
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
and eax, 4
je 0x1005b27f
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x210]
call fcn.1001b8ce
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x1005b29a
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x1c8]
call fcn.1001b8ce
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1005b2b5
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x1f8]
call fcn.1001b8ce
and dword [ebp - 0xa0], 0
jmp 0x1005b2cb
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 5
jae 0x1005b2e1
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x4c], 0
jmp 0x1005b2be
lea eax, [ebp - 0x18]
push eax
push 1
push 0x3e5
push 0xc0c
push 0x7782
push 0x5614
push 1
push 1
lea eax, [ebp - 0x10]
push eax
push 0x314a
push 0x40fd
call fcn.1005a017
add esp, 0x2c
push 0
push dword [ebp - 0x78]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x180]
call fcn.1005b8fa
push 1
lea eax, [ebp - 0x78]
push eax
push 1
push 0x7c2
push 0x513
push 0x629
push 0x2983
lea eax, [ebp - 0x10]
push eax
push 1
push 0x1408
call fcn.1005a166
add esp, 0x28
push 0x69b5
lea eax, [ebp - 0x24]
push eax
push 1
push 0x6053
push 1
push 0x2148
lea eax, [ebp - 0x10]
push eax
push 0x2be
lea eax, [ebp - 0x28]
push eax
call fcn.10059370
add esp, 0x24
push 0x6e07
push 0x414b
push 0x333e
lea eax, [ebp - 0x10]
push eax
push 1
push 0x6f7f
push 1
push 0x1aef
push 0x5d0c
call fcn.1005a32b
add esp, 0x24
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x1005b419
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1005b3ed
mov dword [ebp - 0xbc], 0xc
jmp 0x1005b40b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc8], eax
jmp 0x1005b420
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xdc], eax
and dword [ebp - 0xa4], 0
jmp 0x1005b442
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [eax + 0x18]
jae 0x1005b57d
push dword [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.100590dc
pop ecx
pop ecx
mov dword [ebp - 0xb4], eax
push dword [ebp - 0xb4]
lea eax, [ebp - 0x168]
push eax
call fcn.10059116
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
push 0x545e
push 0x33bd
push 1
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x79fa
lea eax, [ebp - 0x10]
push eax
push 0x3883
push 0x43c3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x168]
push eax
push 1
call fcn.10059660
add esp, 0x30
push 0
push 0x7c1d
push 0x4a52
push 0x296c
lea eax, [ebp - 0xb4]
push eax
push 0x6789
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.1005a24a
add esp, 0x20
push 1
push 0x588a
push 0
lea eax, [ebp - 0x24]
push eax
push 0x1802
push 0x2567
lea eax, [ebp - 0x28]
push eax
push 0x65c6
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.1005a166
add esp, 0x28
push 1
push 1
push 0xa5e
push 0x505b
lea eax, [ebp - 0x10]
push eax
push 0x74a8
push 0x750
push 0x3b68
push 0x475a
call fcn.1005a421
add esp, 0x24
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x168]
call fcn.1001b8ce
jmp 0x1005b435
and dword [ebp - 0x68], 0
jmp 0x1005b58a
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x68], eax
jae 0x1005b5ea
lea eax, [ebp - 0x10]
push eax
push 0x4ea1
push 0x2d9c
push 1
push 1
push 0x5060
lea eax, [ebp - 0x28]
push eax
push 0x5957
push 0x105f
lea eax, [ebp - 0x68]
push eax
push 0x80b
lea eax, [ebp - 0x24]
push eax
push 0x7cda
push 0x4cad
push 0x608
call fcn.1005980d
add esp, 0x3c
jmp 0x1005b583
push 0x2d5f
lea eax, [ebp - 0x68]
push eax
push 1
push 1
push 0xbda
push 0x49c2
push 0x5772
push 0x4a83
push 0x29af
lea eax, [ebp - 0x30]
push eax
push 0x7d56
call fcn.1005a5de
add esp, 0x2c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.1001b8ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.1001b8ce
jmp 0x1005b68f
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x144]
mov dword [ecx], eax
jmp 0x1005b6b9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xfc], eax
push dword [ebp - 0xfc]
push 0x1bcd
push 0x2de8
push 0
push 0x4905
call fcn.10059799
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret