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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push esi
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10046829
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
movzx eax, byte [eax]
test eax, eax
je 0x10046787
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004594a
jmp 0x100469af
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x10045969
jmp 0x100469af
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x10045987
jmp 0x100469af
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xcc], eax
push 0x5817
push 0x30a9
push 1
push 0x15af
push 1
push 0x126f
push 0x37e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0xcc]
push eax
push 0x50b6
lea eax, [ebp - 0x44]
push eax
push 0xbb2
call fcn.1004483b
add esp, 0x38
cmp dword [ebp - 0x1c], 0
jne 0x100459ee
jmp 0x100469af
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
call fcn.10042156
push eax
call fcn.1004be32
pop ecx
mov byte [ebp - 0x6c], 5
mov byte [ebp - 0x6b], 0x20
mov byte [ebp - 0x6a], 3
mov byte [ebp - 0x69], 6
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x67], 6
mov byte [ebp - 0x66], 2
mov byte [ebp - 0x65], 6
mov byte [ebp - 0x64], 4
mov byte [ebp - 0x63], 0xf
mov byte [ebp - 0x62], 9
mov byte [ebp - 0x61], 8
mov byte [ebp - 0x60], 8
mov byte [ebp - 0x5f], 0
mov byte [ebp - 0x5e], 7
mov byte [ebp - 0x5d], 6
mov byte [ebp - 0x5c], 6
mov byte [ebp - 0x5b], 7
mov byte [ebp - 0x5a], 1
mov byte [ebp - 0x59], 4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x6c]
or eax, 0x11
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
and ecx, 0x11
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0xf0], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xb8], 0
jmp 0x10045aa2
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x14
jae 0x10045b20
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x6b]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xb8]
movzx ecx, byte [ebp + ecx - 0x6e]
movsx ecx, byte [ebp + ecx - 0xf0]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x6b]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xb8]
movzx edx, byte [ebp + edx - 0x6e]
movsx edx, byte [ebp + edx - 0xf0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x6b]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xb8]
movzx edx, byte [ebp + edx - 0x6e]
movsx edx, byte [ebp + edx - 0xf0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0xf0], al
jmp 0x10045a9a
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x260]
call fcn.1002c90d
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x178]
call fcn.1004211b
pop ecx
mov dword [ebp - 0x174], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.100139fc
and dword [ebp - 0x9c], 0
jmp 0x10045b91
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xb
jae 0x10045baa
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0xf0], 0
jmp 0x10045b84
mov byte [ebp - 0x88], 7
mov byte [ebp - 0x87], 0x62
mov byte [ebp - 0x86], 6
mov byte [ebp - 0x85], 0xf
mov byte [ebp - 0x84], 3
mov byte [ebp - 0x83], 0xb
mov byte [ebp - 0x82], 5
mov byte [ebp - 0x81], 3
mov byte [ebp - 0x80], 4
mov byte [ebp - 0x7f], 5
mov byte [ebp - 0x7e], 8
mov byte [ebp - 0x7d], 4
mov byte [ebp - 0x7c], 9
mov byte [ebp - 0x7b], 0
mov byte [ebp - 0x7a], 0
mov byte [ebp - 0x79], 1
mov byte [ebp - 0x78], 4
mov byte [ebp - 0x77], 0x86
mov byte [ebp - 0x76], 9
mov byte [ebp - 0x75], 0xdb
mov byte [ebp - 0x74], 0xa6
mov byte [ebp - 0x73], 2
mov byte [ebp - 0x72], 6
mov byte [ebp - 0x71], 1
mov byte [ebp - 0x70], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x88]
or eax, 0x54
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
and ecx, 0x54
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0xfc], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0xa4], 0
jmp 0x10045c77
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x19
jae 0x10045d48
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x88]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x10045cc1
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x88]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x88]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x10045c6f
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x87]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0xa4]
movzx ecx, byte [ebp + ecx - 0x8a]
movsx ecx, byte [ebp + ecx - 0xfc]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x87]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0xa4]
movzx edx, byte [ebp + edx - 0x8a]
movsx edx, byte [ebp + edx - 0xfc]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0xfc], al
lea eax, [ebp - 0xa4]
push eax
push 1
push 0x7f5c
push 0
push 0x5943
push 0x6694
call fcn.10044d29
add esp, 0x18
jmp 0x10045c6f
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xfc], 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.1002c90d
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x188]
call fcn.1004211b
pop ecx
mov dword [ebp - 0x194], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.100139fc
and dword [ebp - 0xac], 0
jmp 0x10045dbc
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x10045dd5
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0xfc], 0
jmp 0x10045daf
push dword [ebp - 0x194]
push dword [ebp - 0x174]
call fcn.100438c8
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
push 0x872
push 0x7342
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push 0x5e3b
push 0x4429
push 0x382d
push 0x4927
push 1
push 0x5505
push 0x608c
push 0x24e5
lea eax, [ebp - 0xc4]
push eax
call fcn.1004483b
add esp, 0x38
push 0xf
push 5
call fcn.100438c8
pop ecx
pop ecx
add eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x10045e6a
mov eax, dword [ebp - 0x10]
push dword [eax + 0x18]
push 0
call fcn.100438c8
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
and dword [ebp - 0x50], 0
jmp 0x10045e8c
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x48]
jge 0x10045f53
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x50], eax
jae 0x10045ed8
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1b41
push 0x61b5
lea eax, [ebp - 0x20]
push eax
call fcn.10044a46
add esp, 0x24
jmp 0x10045f01
push 0x51f5
push 0
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0x401f
push 1
push 0x340c
call fcn.1004442e
add esp, 0x1c
push 0x14d7
lea eax, [ebp - 0x1c]
push eax
push 0x51ef
lea eax, [ebp - 0x20]
push eax
push 0
push 0x6286
push 0x6702
lea eax, [ebp - 0x14]
push eax
push 1
push 0x3e44
lea eax, [ebp - 0xe4]
push eax
push 0x46e7
push 0
push 0x6b34
call fcn.100453d2
add esp, 0x38
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x10045e85
push 0x42c1
push 0x5579
lea eax, [ebp - 0x10]
push eax
push 0x43ee
push 1
push 0x10f0
push 0x2690
push 0x1621
push 1
lea eax, [ebp - 0x58]
push eax
push 0x313a
push 0x3980
push 0
push 0x4da0
call fcn.100453d2
add esp, 0x38
push 0x67da
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x5724
push 0x6da4
push 0xaef
push 0
push 0x24ef
lea eax, [ebp - 0x58]
push eax
call fcn.10045799
add esp, 0x28
push 0x1067
push 0x2c17
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x9c6
push 1
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.10044c0e
add esp, 0x24
mov eax, dword [ebp - 0x48]
shl eax, 2
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], ecx
push 0x5f04
push 1
lea eax, [ebp - 0x58]
push eax
push 1
push 0x5a69
lea eax, [ebp - 0x10]
push eax
call fcn.10044d29
add esp, 0x18
and dword [ebp - 0xa8], 0
jmp 0x10046037
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x48]
jge 0x10046081
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0xa8]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x20]
mov ax, word [esi + eax]
mov word [edx + ecx], ax
push 1
push 1
push 1
lea eax, [ebp - 0x14]
push eax
push 0x435
call fcn.1004417b
add esp, 0x14
jmp 0x1004602a
push 0x6198
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x6097
push 1
push 0x1395
push 1
call fcn.1004436b
add esp, 0x20
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x200]
call fcn.1002c90d
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x200]
call fcn.10014208
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc0]
shr eax, 1
push eax
call fcn.100438c8
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0x96
mov byte [ebp - 0x3e], 4
mov byte [ebp - 0x3d], 0x69
mov byte [ebp - 0x3c], 2
mov byte [ebp - 0x3b], 0x8b
mov byte [ebp - 0x3a], 0xc2
mov byte [ebp - 0x39], 3
mov byte [ebp - 0x38], 0x42
mov byte [ebp - 0x37], 2
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 1
mov byte [ebp - 0x34], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
or eax, 0xb8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
and ecx, 0xb8
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 - 0x24], 2
and dword [ebp - 0x98], 0
jmp 0x10046172
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xd
jae 0x1004623a
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x100461b3
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x1004616a
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x3f]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x98]
movzx ecx, byte [ebp + ecx - 0x42]
movsx ecx, byte [ebp + ecx - 0x90]
or eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x3f]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x98]
movzx edx, byte [ebp + edx - 0x42]
movsx edx, byte [ebp + edx - 0x90]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x90], al
push 0x5246
push 0x7479
push 0x25cc
push 1
push 0x278c
lea eax, [ebp - 0x98]
push eax
push 0x53eb
push 0x3119
push 1
call fcn.10044ddf
add esp, 0x24
jmp 0x1004616a
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x90], 0
cmp dword [ebp - 0x54], 4
jle 0x10046302
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x248]
call fcn.1002c90d
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
sub eax, 4
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.1004390f
pop ecx
pop ecx
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x114]
mov edx, dword [ebp - 0x17c]
lea ecx, [ebp - 0x218]
call fcn.10047047
pop ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x100], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xc8], eax
jmp 0x1004632e
push dword [ebp - 0x54]
lea eax, [ebp - 0x290]
push eax
call fcn.1004390f
pop ecx
pop ecx
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x184], eax
push dword [ebp - 0x184]
lea ecx, [ebp - 0x1e8]
call fcn.10046b88
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x10046369
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x290]
call fcn.100139fc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x10046384
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x218]
call fcn.100139fc
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x1004639f
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x230]
call fcn.100139fc
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x100463ba
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x248]
call fcn.100139fc
and dword [ebp - 0x94], 0
jmp 0x100463d0
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 5
jae 0x100463e9
mov eax, dword [ebp - 0x94]
mov byte [ebp + eax - 0x90], 0
jmp 0x100463c3
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2a20
push 1
push 0x3f57
push 0x2ff9
push 0x1593
lea eax, [ebp - 0x14]
push eax
push 0x4354
push 0x5ecb
call fcn.100451c0
add esp, 0x28
push 0
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1e8]
call fcn.10046bd0
push 0x5707
lea eax, [ebp - 0x14]
push eax
push 0x1543
push 0x3632
lea eax, [ebp - 0x54]
push eax
push 0
push 0x79fe
push 1
push 0x5036
call fcn.10044c0e
add esp, 0x24
push 0x1972
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 0x26b7
push 0x3426
push 0x7539
push 0x45e2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100451c0
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
push 1
push 0x550b
push 0x289e
push 0x4ec
push 1
push 0x6e50
call fcn.1004442e
add esp, 0x1c
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x10046518
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
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 0x100464ec
mov dword [ebp - 0xe0], 0xc
jmp 0x1004650a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
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 - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xd0], eax
jmp 0x1004651f
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
and dword [ebp - 0xa0], 0
jmp 0x10046541
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [eax + 0x18]
jae 0x100466cd
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.100438c8
pop ecx
pop ecx
mov dword [ebp - 0xbc], eax
push dword [ebp - 0xbc]
lea eax, [ebp - 0x1d0]
push eax
call fcn.1004390f
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
lea eax, [ebp - 0x14]
push eax
push 0x7359
lea eax, [ebp - 0x20]
push eax
push 0x58fb
push 0x4c6c
lea eax, [ebp - 0x1c]
push eax
push 0x68d6
push 0x34bb
push 0x50ca
push 1
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0xbc]
push eax
push 1
push 0
push 0x6e39
call fcn.100458b6
add esp, 0x3c
push 0x503c
lea eax, [ebp - 0xbc]
push eax
push 1
push 0x1f18
push 0
push 0x2ee1
push 0x1b30
push 0x6a2d
push 0x7c3c
push 0
push 0x664c
lea eax, [ebp - 0x14]
push eax
push 0x5991
push 0x2e31
call fcn.1004483b
add esp, 0x38
lea eax, [ebp - 0x20]
push eax
push 0xc50
push 1
push 0x7480
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5996
push 0x233b
push 1
push 0x4242
push 0x7a8a
push 0x1c1d
push 0x6ce
call fcn.1004483b
add esp, 0x38
push 0x5fe2
push 0x255d
push 0x7d4e
push 0x2791
push 1
push 0x503e
push 0x3977
push 0x362f
push 0
push 0x7992
push 0x7864
lea eax, [ebp - 0x14]
push eax
push 1
push 0x4ad7
call fcn.100453d2
add esp, 0x38
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1d0]
call fcn.100139fc
jmp 0x10046534
and dword [ebp - 0x4c], 0
jmp 0x100466da
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x4c], eax
jae 0x10046732
lea eax, [ebp - 0x4c]
push eax
push 0x74b
push 0x3175
push 0xab
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x253c
push 1
push 0x1e94
push 0x60c9
push 0x11f6
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.100453d2
add esp, 0x38
jmp 0x100466d3
push 0x78a7
push 1
push 0x56bf
push 0x59e1
lea eax, [ebp - 0x30]
push eax
push 0x5899
push 0x4828
push 1
lea eax, [ebp - 0x4c]
push eax
push 0x2197
call fcn.10045799
add esp, 0x28
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e8]
call fcn.100139fc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x200]
call fcn.100139fc
jmp 0x10046824
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x144], eax
push 1
mov eax, dword [ebp - 0x144]
push dword [eax]
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x1b8]
call fcn.10046c15
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 4], 0xb
push dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x154]
call fcn.1002c930
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.100139fc
jmp 0x100469af
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x148], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x158], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
movzx eax, byte [eax]
test eax, eax
je 0x10046935
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x120], eax
push 0
mov eax, dword [ebp - 0x120]
push dword [eax]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x130]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x138]
mov ecx, dword [ecx]
add ecx, eax
push ecx
mov ecx, dword [ebp - 0x140]
call fcn.10046bd0
jmp 0x100469af
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xb4]
and eax, dword [ecx]
je 0x10046993
mov eax, dword [ebp - 0xb0]
push dword [eax]
mov eax, dword [ebp - 0xb4]
push dword [eax]
call fcn.10043ac1
pop ecx
pop ecx
mov ecx, dword [ebp - 0xb0]
add eax, dword [ecx]
mov dword [ebp - 0xdc], eax
jmp 0x100469a1
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xdc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret