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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a91b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34c
push esi
push edi
and dword [ebp - 0x14], 0
mov dword [ebp - 0x130], 0x1553
cmp dword [ebp - 0x130], 0xcab
jge 0x10048a4f
push 1
lea ecx, [ebp - 0x358]
call fcn.1004a230
and dword [ebp - 4], 0
push 0x40
push 1
push 0x100091e4
lea ecx, [ebp - 0x358]
call fcn.1004a2f1
push 0x100091f0
push 0x100091f4
call fcn.10052019
pop ecx
pop ecx
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x358]
call fcn.10049d1b
mov ecx, eax
call fcn.10049d1b
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0x1ac], 0
je 0x10048a1e
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x358]
call fcn.10049d1b
mov ecx, eax
call fcn.10049d1b
push dword [ebp - 0x1b4]
push dword [ebp - 0x1bc]
push dword [ebp - 0x1d0]
call fcn.10048829
add esp, 0xc
movzx eax, al
test eax, eax
je 0x100489fc
mov dword [ebp - 0xf0], 0x10009200
jmp 0x10048a06
mov dword [ebp - 0xf0], 0x10009204
push dword [ebp - 0x108]
push dword [ebp - 0xf0]
call fcn.10051575
pop ecx
pop ecx
jmp 0x1004898d
lea ecx, [ebp - 0x358]
call fcn.1004a39e
push dword [ebp - 0x108]
call fcn.1005242b
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.1004a2ae
lea ecx, [ebp - 0x2e8]
call fcn.10049e4e
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x10049a26
lea eax, [ebp + 0x34]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x170], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
movzx eax, byte [eax]
test eax, eax
je 0x100497d1
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10048ac0
jmp 0x10049b13
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0x4550
je 0x10048adf
jmp 0x10049b13
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x10048afd
jmp 0x10049b13
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xa0], eax
push 0x5fbe
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x1100
push 0x68fe
push 1
push 1
call fcn.10047653
add esp, 0x24
cmp dword [ebp - 0x2c], 0
jne 0x10048b4e
jmp 0x10049b13
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
call fcn.1004569e
push eax
call fcn.10052155
pop ecx
mov byte [ebp - 0x68], 5
mov byte [ebp - 0x67], 0x5d
mov byte [ebp - 0x66], 6
mov byte [ebp - 0x65], 0
mov byte [ebp - 0x64], 4
mov byte [ebp - 0x63], 9
mov byte [ebp - 0x62], 2
mov byte [ebp - 0x61], 0xf
mov byte [ebp - 0x60], 7
mov byte [ebp - 0x5f], 1
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x5d], 7
mov byte [ebp - 0x5c], 4
mov byte [ebp - 0x5b], 0xee
mov byte [ebp - 0x5a], 0xc6
mov byte [ebp - 0x59], 0x57
mov byte [ebp - 0x58], 0x81
mov byte [ebp - 0x57], 9
mov byte [ebp - 0x56], 1
mov byte [ebp - 0x55], 8
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 1
mov byte [ebp - 0x52], 5
mov byte [ebp - 0x51], 3
mov byte [ebp - 0x50], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
or eax, 0x6c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
and ecx, 0x6c
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0x114], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x74], 0
jmp 0x10048c13
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x19
jae 0x10048cc4
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10048c51
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x68]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x68]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10048c0b
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x67]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x74]
movzx ecx, byte [ebp + ecx - 0x6a]
movsx ecx, byte [ebp + ecx - 0x114]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x74]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0x114]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x74]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0x114]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0x114], al
and dword [ebp - 0x74], 0
jmp 0x10048c0b
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x114], 0
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x270]
call fcn.10037c23
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x124]
call fcn.10045663
pop ecx
mov dword [ebp - 0x140], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.10037c46
and dword [ebp - 0xac], 0
jmp 0x10048d38
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x10048d51
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0x114], 0
jmp 0x10048d2b
mov byte [ebp - 0x94], 9
mov byte [ebp - 0x93], 0x38
mov byte [ebp - 0x92], 4
mov byte [ebp - 0x91], 4
mov byte [ebp - 0x90], 8
mov byte [ebp - 0x8f], 4
mov byte [ebp - 0x8e], 5
mov byte [ebp - 0x8d], 1
mov byte [ebp - 0x8c], 0
mov byte [ebp - 0x8b], 0
mov byte [ebp - 0x8a], 2
mov byte [ebp - 0x89], 6
mov byte [ebp - 0x88], 6
mov byte [ebp - 0x87], 0xe
mov byte [ebp - 0x86], 1
mov byte [ebp - 0x85], 0xf
mov byte [ebp - 0x84], 7
mov byte [ebp - 0x83], 0
mov byte [ebp - 0x82], 3
mov byte [ebp - 0x81], 4
mov byte [ebp - 0x80], 2
mov byte [ebp - 0x7f], 0xb3
mov byte [ebp - 0x7e], 0x2f
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x94]
or eax, 8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
and ecx, 8
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x120], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0xb0], 0
jmp 0x10048e3a
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x17
jae 0x10048f10
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x94]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x10048e84
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x94]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x94]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x10048e32
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x93]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0xb0]
movzx ecx, byte [ebp + ecx - 0x96]
movsx ecx, byte [ebp + ecx - 0x120]
or eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x93]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0xb0]
movzx edx, byte [ebp + edx - 0x96]
movsx edx, byte [ebp + edx - 0x120]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x120], al
lea eax, [ebp - 0xb0]
push eax
push 0x3042
push 0x374f
push 0x6c1d
push 1
push 1
push 0x3254
call fcn.100477c5
add esp, 0x1c
jmp 0x10048e32
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x120], 0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x288]
call fcn.10037c23
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], 2
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x138]
call fcn.10045663
pop ecx
mov dword [ebp - 0x1b8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.10037c46
and dword [ebp - 0xa4], 0
jmp 0x10048f84
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xb
jae 0x10048f9d
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0x120], 0
jmp 0x10048f77
push dword [ebp - 0x1b8]
push dword [ebp - 0x140]
call fcn.10046833
pop ecx
pop ecx
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x100]
mov dword [eax + 8], ecx
push 0x1a5c
push 0x5bd5
push 0
lea eax, [ebp - 0x100]
push eax
push 0
push 0x2e42
push 0x11e2
lea eax, [ebp - 0x10]
push eax
call fcn.10048027
add esp, 0x20
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x10049040
push 0x22f4
push 0x2095
lea eax, [ebp - 0x7c]
push eax
push 0x737d
push 0x7b58
push 0x5eae
push 0xa79
lea eax, [ebp - 0x10]
push eax
push 0x59ac
push 0x52ef
push 1
push 0
push 0x7304
push 0x4dd1
call fcn.10048520
add esp, 0x38
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0x6c], 0
jmp 0x10049062
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x4c]
jge 0x1004914e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x6c], eax
jae 0x100490bd
lea eax, [ebp - 0x10]
push eax
push 0x6071
lea eax, [ebp - 0xe8]
push eax
push 0x6249
push 0x4068
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x38d3
push 0x4d4a
push 0
call fcn.100482eb
add esp, 0x30
jmp 0x100490e6
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0xa0]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0xa0]
push dword [eax + 0x14]
call fcn.10046833
pop ecx
pop ecx
mov dword [ebp - 0xe8], eax
push 0x1df1
lea eax, [ebp - 0xe8]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
push 0xc47
lea eax, [ebp - 0x28]
push eax
push 0x4288
push 0x4af6
push 0x6764
call fcn.100488f3
add esp, 0x30
lea eax, [ebp - 0x1c]
push eax
push 0x5fda
push 1
push 0xd6f
push 0
push 0x6e3f
push 0x27f4
push 0x5d40
call fcn.10048027
add esp, 0x20
jmp 0x1004905b
push 0x468b
push 0x418b
push 0x6c1d
lea eax, [ebp - 0x10]
push eax
push 0
push 1
lea eax, [ebp - 0x7c]
push eax
call fcn.100477c5
add esp, 0x1c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], eax
push 0x782a
push 0x796
push 0x6336
push 1
push 1
push 1
push 0x56c
push 0x1994
lea eax, [ebp - 0x1c]
push eax
push 0x4bb0
lea eax, [ebp - 0x4c]
push eax
push 0x190c
push 0x1146
push 0x7930
push 0x2ea9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100478de
add esp, 0x44
push 0x3ba2
push 0x4943
push 0x5707
push 0
push 1
push 0x5fd2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x4f35
call fcn.1004842b
add esp, 0x28
push 0x3d78
push 0x651e
push 0x43c9
push 0x53ca
lea eax, [ebp - 0x7c]
push eax
push 1
push 0x4df5
push 0x1f00
push 0x7f37
lea eax, [ebp - 0x10]
push eax
push 0x6341
push 0
call fcn.100482eb
add esp, 0x30
push 0x1bd
push 0
push 1
push 0x2263
lea eax, [ebp - 0x28]
push eax
push 0x4a34
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x51e
push 0x3587
call fcn.10046fac
add esp, 0x30
push 0x1bdd
push 0x401d
push 0x56e2
push 0x755
lea eax, [ebp - 0x1c]
push eax
push 0x5dc1
push 1
push 0x64dd
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
push 1
push 1
push 0x2167
push 0x3a61
call fcn.1004811b
add esp, 0x38
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x210]
call fcn.10037c23
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x210]
call fcn.10037c92
mov dword [ebp - 0xec], eax
push dword [ebp - 0xec]
mov eax, dword [ebp - 0xec]
shr eax, 1
push eax
call fcn.10046833
pop ecx
pop ecx
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x44], 3
mov byte [ebp - 0x43], 0xd3
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x41], 0x42
mov byte [ebp - 0x40], 1
mov byte [ebp - 0x3f], 0x4a
mov byte [ebp - 0x3e], 2
mov byte [ebp - 0x3d], 8
mov byte [ebp - 0x3c], 4
mov byte [ebp - 0x3b], 0xb7
mov byte [ebp - 0x3a], 0xb9
mov byte [ebp - 0x39], 0xe1
mov byte [ebp - 0x38], 0x5b
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x44]
or eax, 0xbf
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x44]
and ecx, 0xbf
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [ebp + ecx - 0x9c], al
mov dword [ebp - 0x24], 2
and dword [ebp - 0xb4], 0
jmp 0x1004937f
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xd
jae 0x1004941d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x44]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x100493c0
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x44]
inc eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x44]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x10049377
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x43]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0xb4]
movzx ecx, byte [ebp + ecx - 0x46]
movsx ecx, byte [ebp + ecx - 0x9c]
or eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x43]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xb4]
movzx edx, byte [ebp + edx - 0x46]
movsx edx, byte [ebp + edx - 0x9c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [ebp + ecx - 0x9c], al
and dword [ebp - 0xb4], 0
jmp 0x10049377
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x9c], 0
cmp dword [ebp - 0x70], 4
jle 0x100494e5
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x258]
call fcn.10037c23
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
sub eax, 4
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.100468ac
pop ecx
pop ecx
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x150]
lea ecx, [ebp - 0x228]
call fcn.1004b2ed
pop ecx
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xcc], eax
jmp 0x10049511
push dword [ebp - 0x70]
lea eax, [ebp - 0x2a0]
push eax
call fcn.100468ac
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 - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x160], eax
push dword [ebp - 0x160]
lea ecx, [ebp - 0x1f8]
call fcn.1004a12e
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x14]
and eax, 8
je 0x1004954c
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x2a0]
call fcn.10037c46
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
and eax, 4
je 0x10049567
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x228]
call fcn.10037c46
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x10049582
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x240]
call fcn.10037c46
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1004959d
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x258]
call fcn.10037c46
and dword [ebp - 0xa8], 0
jmp 0x100495b3
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 5
jae 0x100495cc
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0x9c], 0
jmp 0x100495a6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
push 0
push dword [ebp - 0x70]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1f8]
call fcn.1004a176
push 0x4395
push 0x23f9
push 1
push 0x48e7
push 0x43a5
push 0x35de
push 0
push 0x7e62
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10046d05
add esp, 0x28
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x1db5
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x21e2
push 0x273e
push 0x60bb
push 0x155a
call fcn.1004842b
add esp, 0x28
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x10ed
push 1
call fcn.10046c8f
add esp, 0x10
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x100496c8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
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 0x1004969c
mov dword [ebp - 0x104], 0xc
jmp 0x100496ba
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
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 - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xd4], eax
jmp 0x100496cf
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x184]
push eax
push 0x3463
lea eax, [ebp - 0x10]
push eax
push 0x3bac
push 0x5a58
lea eax, [ebp - 0x1c]
push eax
push 0xda0
push 0x2424
push 0x5bd2
push 1
push 1
push 0x246d
lea eax, [ebp - 0x2c]
push eax
call fcn.10048520
add esp, 0x38
and dword [ebp - 0x78], 0
jmp 0x1004972e
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x78], eax
jae 0x10049795
push 0x5204
push 0x8ac
lea eax, [ebp - 0x28]
push eax
push 1
push 0
push 1
push 0x703b
lea eax, [ebp - 0x2c]
push eax
push 0x7d2d
push 0x614b
push 0x2668
lea eax, [ebp - 0x78]
push eax
push 0x4e7b
push 0x84f
lea eax, [ebp - 0x1c]
push eax
push 0x7c76
push 0x14dc
call fcn.100478de
add esp, 0x44
jmp 0x10049727
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push 1
push 0x4d4c
call fcn.1004875b
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1f8]
call fcn.10037c46
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.10037c46
jmp 0x10049a21
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x34], 9
push 2
lea ecx, [ebp - 0x1dc]
call fcn.1000b069
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xc8], 2
mov dword [ebp - 0x178], 7
lea eax, [ebp - 0x1e0]
push eax
push 0x285b
push 0x1407
push 0x2007
push 0x78bc
push 0x7944
push 0
lea eax, [ebp - 0x1dc]
push eax
push 0x6cb1
push 0x7622
push 1
push 0
push 0x304a
push 0x7b81
call fcn.1004811b
add esp, 0x38
cmp dword [ebp - 0x34], 0x8cf5a8b0
jbe 0x10049882
mov dword [ebp - 0xf4], 1
jmp 0x10049889
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 0xf1860ec0
jae 0x100498a1
mov dword [ebp - 0xdc], 1
jmp 0x100498a8
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
add eax, 0x2d0c726e
sub eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x34]
jl 0x100498c7
mov dword [ebp - 0xf8], 1
jmp 0x100498ce
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0x6df7
je 0x100498e6
mov dword [ebp - 0xe4], 1
jmp 0x100498ed
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xe4], eax
jne 0x10049904
mov dword [ebp - 0xc0], 1
jmp 0x1004990b
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 3
jne 0x10049920
mov dword [ebp - 0xc4], 1
jmp 0x10049927
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xc4]
jle 0x1004993e
mov dword [ebp - 0x194], 1
jmp 0x10049945
and dword [ebp - 0x194], 0
push 1
lea ecx, [ebp - 0x1dc]
call fcn.1000b0e1
mov dword [eax], 0xfffffffa
mov dword [ebp - 0xc8], 0x478c
mov eax, dword [ebp - 0xc8]
imul eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x34]
jg 0x1004997d
mov dword [ebp - 0xd0], 1
jmp 0x10049984
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x178], eax
push 0x449d
push 1
push 0
push 0x585a
push 1
push 0x3669
push 0xbcc
call fcn.10047296
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.1000b0c5
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [eax]
sub eax, dword [ecx]
jne 0x100499dc
and dword [ebp - 0xe0], 0
jmp 0x10049a06
call fcn.10052134
mov esi, eax
call fcn.10052134
imul esi, eax
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xb8]
mov edi, dword [eax]
sub edi, dword [ecx]
mov eax, esi
cdq
idiv edi
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
add eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], eax
jmp 0x10049b13
jmp 0x10049b13
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c0], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1a4]
movzx eax, byte [eax]
test eax, eax
je 0x10049af2
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x154]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x15c]
mov edx, dword [edx]
mov dword [ecx + eax], edx
jmp 0x10049b13
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
and dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret