Function at 0x4145e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
and dword [ebp - 0x40], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x80000
je 0x414617
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
sub eax, dword [ecx + 0x40]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x24]
ja 0x414617
mov dword [ebp - 0x28], 1
jmp 0x41461b
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x414655
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
sub eax, dword [ecx + 0x8c]
cmp eax, 0x14ccc
jb 0x414655
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x8c]
mov dword [ebp - 0x2c], eax
jmp 0x414660
mov eax, dword [ebp + 8]
add eax, 0x39272
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
add eax, 0x14cbc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp + 8]
and dword [eax + 0x58], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x5c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
movzx eax, byte [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x38]
sar eax, cl
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x2c]
mov byte [ecx], al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], 8
jne 0x4146b9
mov dword [ebp - 0x30], 1
jmp 0x4146bd
and dword [ebp - 0x30], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x1000
je 0x414806
mov eax, dword [ebp + 8]
cmp dword [eax + 0x64], 0
jne 0x414806
mov dword [ebp - 0x54], 0x78
mov dword [ebp - 0x58], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x54]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x414770
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x414750
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x41471e
xor eax, eax
jne 0x4146ea
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x60], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x4147fe
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x4147de
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x4147ac
xor eax, eax
jne 0x414778
cmp dword [ebp + 0xc], 4
jne 0x414815
mov dword [ebp - 0x34], 1
jmp 0x414819
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x64]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x41489e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x41487e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x41484c
xor eax, eax
jne 0x414806
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x3c], 0
jne 0x4148fa
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x40000
jne 0x4148e3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0x30
jb 0x4148e3
and dword [ebp - 0x38], 0
jmp 0x4148ea
mov dword [ebp - 0x38], 1
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.004145b0
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x3c], 0
jne 0x414923
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
je 0x414c15
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
sub eax, dword [ebp - 0x10]
inc eax
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x3c]
jb 0x414c15
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
sub eax, dword [ecx + 0x40]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x24]
ja 0x414c15
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x44], ecx
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 2
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x4149d9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x4149b9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x414987
xor eax, eax
jne 0x414956
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x414a7e
and dword [ebp - 0x74], 0
mov eax, dword [ebp + 8]
push 8
pop ecx
sub ecx, dword [eax + 0x44]
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x74]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x414a76
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x414a56
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x414a24
xor eax, eax
jne 0x4149ee
mov dword [ebp - 8], 2
jmp 0x414a9f
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
xor eax, 0xffff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], eax
cmp dword [ebp - 8], 0
je 0x414b43
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
and eax, 0xffff
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x414b36
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x414b16
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x414ae4
xor eax, eax
jne 0x414aa9
jmp 0x414a87
and dword [ebp - 8], 0
jmp 0x414b50
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x3c]
jae 0x414c13
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 8]
and eax, 0x7fff
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax + 0x90]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x84]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x88]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x414c06
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x414be6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x414bb4
xor eax, eax
jne 0x414b5f
jmp 0x414b49
jmp 0x414c42
cmp dword [ebp - 0x40], 0
jne 0x414c42
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x44], ecx
push 1
push dword [ebp + 8]
call fcn.004145b0
pop ecx
pop ecx
cmp dword [ebp + 0xc], 0
je 0x414ff0
cmp dword [ebp + 0xc], 4
jne 0x414de4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x414cff
and dword [ebp - 0x8c], 0
mov eax, dword [ebp + 8]
push 8
pop ecx
sub ecx, dword [eax + 0x44]
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x90]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x414cf7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x414cd7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x414ca5
xor eax, eax
jne 0x414c63
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x1000
je 0x414ddf
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x14], 0
jmp 0x414d26
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jae 0x414ddf
mov eax, dword [ebp - 0x18]
shr eax, 0x18
and eax, 0xff
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x94]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x98]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x414dc9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x414da9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x414d77
xor eax, eax
jne 0x414d30
mov eax, dword [ebp - 0x18]
shl eax, 8
mov dword [ebp - 0x18], eax
jmp 0x414d1f
jmp 0x414ff0
and dword [ebp - 0x20], 0
and dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 3
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0xa0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x414e77
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x414e57
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x414e25
xor eax, eax
jne 0x414de8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x414f28
and dword [ebp - 0xa4], 0
mov eax, dword [ebp + 8]
push 8
pop ecx
sub ecx, dword [eax + 0x44]
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x414f20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x414f00
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x414ece
xor eax, eax
jne 0x414e8c
mov dword [ebp - 0x1c], 2
jmp 0x414f43
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
xor eax, 0xffff
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
je 0x414ff0
mov eax, dword [ebp - 0x20]
and eax, 0xffff
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xac]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0xb0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x414fe3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x34]
jae 0x414fc3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x48]
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x414f91
xor eax, eax
jne 0x414f4d
jmp 0x414f31
push 0x240
push 0
mov eax, 0x240
imul eax, eax, 0
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x8192]
push 2
pop ecx
imul ecx, ecx, 0
add eax, ecx
push eax
call fcn.0045fb30
add esp, 0xc
push 0x40
push 0
mov eax, 0x240
shl eax, 0
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x8192]
push 2
pop ecx
imul ecx, ecx, 0
add eax, ecx
push eax
call fcn.0045fb30
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x9273
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp + 8]
add eax, 0x9272
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp + 8]
and dword [eax + 0x3c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x64]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
je 0x4151b5
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x4150ff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x84]
sub eax, dword [ecx + 0x70]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x78]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x39272
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call dword [0x485218]
call dword [ebp - 0x4c]
add esp, 0xc
test eax, eax
jne 0x4150fa
mov eax, dword [ebp + 8]
or dword [eax + 0x6c], 0xffffffff
or eax, 0xffffffff
jmp 0x4151bb
jmp 0x4151b5
mov eax, dword [ebp + 8]
add eax, 0x39272
cmp dword [ebp - 0x24], eax
jne 0x4151a0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
sub eax, dword [ecx + 0x8c]
cmp dword [ebp - 4], eax
jae 0x41512e
mov eax, dword [ebp - 4]
mov dword [ebp - 0x50], eax
jmp 0x415142
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
sub eax, dword [ecx + 0x8c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, 0x39272
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x8c]
push eax
call fcn.0045f5b0
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x8c], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
je 0x41519e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x58], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x5c], ecx
jmp 0x4151b5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x8c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
leave
ret