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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp + 8]
add ebx, 0xffffffcc
mov eax, dword [ebx]
cmp dword [eax + 0x20], 0
je 0x5b52e6
mov eax, dword [ebp + 8]
add eax, 0xffffffc8
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
call fcn.004059fc
push 0
push 0x7fffffff
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + 0x1c]
call fcn.00432710
test al, 2
setne al
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.00437ef4
mov eax, dword [eax + 0xc]
call fcn.00432410
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x38]
xor ecx, ecx
call fcn.00570098
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x44], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x40], edx
jmp 0x5b5301
lea ecx, [ebp - 0x2c]
xor edx, edx
xor eax, eax
call fcn.0057a648
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x44], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x40], edx
mov eax, dword [ebx]
mov al, byte [eax + 0x8a]
sub al, 2
jae 0x5b5337
mov eax, dword [ebx]
cmp dword [eax + 0x9c], 0
je 0x5b5337
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov eax, dword [eax + 0x2c]
add eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x5b5341
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0x1fffffff
mov eax, dword [ebx]
cmp byte [eax + 0x14], 0
je 0x5b5365
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x2cc]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x5b536f
mov eax, dword [ebx]
mov esi, dword [eax + 0x7c]
jmp 0x5b540f
mov eax, dword [ebx]
call fcn.0051545c
sub eax, 1
jb 0x5b5386
je 0x5b5403
jmp 0x5b540a
mov eax, dword [ebx]
mov esi, dword [eax + 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.0059ad2c
mov eax, dword [eax + 0x80]
cmp byte [eax + 7], 0
je 0x5b540f
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4d], 0
je 0x5b53cd
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x54], 0x26
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x52c]
mov eax, dword [edx + eax*8 + 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x5b540f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x10c]
imul edx, eax, 0x26
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x48]
mov ecx, dword [ecx + 0x52c]
mov edx, dword [ecx + edx*8 + 0x1c]
mov ecx, dword [ebp + 8]
test eax, eax
setge al
mov ecx, 0xffffff
call fcn.0057a2b4
mov dword [ebp - 0x14], eax
jmp 0x5b540f
mov eax, dword [ebx]
mov esi, dword [eax + 0x74]
jmp 0x5b540f
mov eax, dword [ebx]
mov esi, dword [eax + 0x78]
test esi, esi
jge 0x5b5418
mov eax, dword [ebx]
mov esi, dword [eax + 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov edi, dword [eax + 0x20]
mov eax, dword [ebx]
cmp byte [eax + 0x19], 0
je 0x5b5497
push 0x60
push edi
mov eax, dword [ebx]
call fcn.005155e0
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
mov edx, dword [edx + 0x260]
add eax, dword [edx + 0x38]
add eax, eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x60]
sub edx, eax
push edx
call sub.KERNEL32.DLL_MulDiv
push eax
push 0x60
push edi
mov eax, dword [ebx]
call fcn.005155e0
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
mov edx, dword [edx + 0x260]
add eax, dword [edx + 0x38]
add eax, eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x5c]
sub edx, eax
push edx
call sub.KERNEL32.DLL_MulDiv
lea ecx, [ebp - 0x2c]
pop edx
call fcn.0057a648
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x58], edx
jmp 0x5b558d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
cmp dword [eax + 0x68], 0
je 0x5b551b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x68]
call fcn.00507a6c
mov edx, eax
xor ecx, ecx
mov eax, esi
call fcn.0057a328
test al, al
je 0x5b551b
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x68]
mov ecx, edi
mov edx, esi
call fcn.00507bf4
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x68]
mov ecx, edi
mov edx, esi
call fcn.00507ab4
lea ecx, [ebp - 0x2c]
pop edx
call fcn.0057a648
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x58], edx
jmp 0x5b558d
mov eax, dword [ebx]
cmp dword [eax + 0xc], 0
je 0x5b5572
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x5b5572
push 0x60
push edi
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
call sub.KERNEL32.DLL_MulDiv
push eax
push 0x60
push edi
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
call sub.KERNEL32.DLL_MulDiv
lea ecx, [ebp - 0x2c]
pop edx
call fcn.0057a648
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x58], edx
jmp 0x5b558d
lea ecx, [ebp - 0x2c]
xor edx, edx
xor eax, eax
call fcn.0057a648
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x58], edx
mov eax, dword [ebx]
mov al, byte [eax + 0x98]
sub al, 1
jb 0x5b55a8
je 0x5b5694
dec al
je 0x5b55d5
jmp 0x5b5777
push 0x60
push edi
mov eax, dword [ebx]
call fcn.005155e0
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
mov edx, dword [edx + 0x260]
add eax, dword [edx + 0x38]
push eax
call sub.KERNEL32.DLL_MulDiv
add eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
jmp 0x5b5777
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
cmp dword [eax + 0x68], 0
je 0x5b5615
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x68]
call fcn.00507a6c
mov edx, eax
xor ecx, ecx
mov eax, esi
call fcn.0057a328
test al, al
je 0x5b5615
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x5c]
mov dword [ebp - 0x10], eax
jmp 0x5b563f
mov eax, dword [ebx]
cmp dword [eax + 0xc], 0
je 0x5b563a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x5b563a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x10], eax
jmp 0x5b563f
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x5b565f
mov eax, dword [ebp + 8]
cmp dword [eax - 0x44], 0
jle 0x5b565f
push 0x60
push edi
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
push eax
call sub.KERNEL32.DLL_MulDiv
add dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.0057a698
mov edx, eax
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
sub edx, dword [eax - 0x44]
sub edx, dword [ebp - 0xc]
sar edx, 1
jns 0x5b567e
adc edx, 0
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
call fcn.0043a32c
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
jmp 0x5b5777
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
cmp dword [eax + 0x68], 0
je 0x5b56f1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x68]
call fcn.00507a6c
mov edx, eax
xor ecx, ecx
mov eax, esi
call fcn.0057a328
test al, al
je 0x5b56f1
push 0x60
push edi
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
push eax
call sub.KERNEL32.DLL_MulDiv
mov edx, dword [ebp + 8]
cmp dword [edx - 0x44], 0
setg dl
and edx, 0x7f
imul edx
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x5c]
mov dword [ebp - 0x10], eax
jmp 0x5b573c
mov eax, dword [ebx]
cmp dword [eax + 0xc], 0
je 0x5b5737
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x5b5737
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0x60
push edi
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
push eax
call sub.KERNEL32.DLL_MulDiv
mov edx, dword [ebp + 8]
cmp dword [edx - 0x44], 0
setg dl
and edx, 0x7f
imul edx
pop edx
add edx, eax
mov dword [ebp - 0x10], edx
jmp 0x5b573c
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x60
push edi
mov eax, dword [ebx]
mov eax, dword [eax + 0x5c]
push eax
call sub.KERNEL32.DLL_MulDiv
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x44]
sub eax, dword [ebp - 8]
push eax
push 0x60
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov eax, dword [eax + 0x24]
add eax, eax
push eax
call sub.KERNEL32.DLL_MulDiv
pop edx
sub edx, eax
add edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov dword [eax - 0x10], edx
mov eax, dword [ebp + 8]
mov byte [eax - 0x5d], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0x64], 0
jne 0x5b586f
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4d], 0
je 0x5b586f
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
xor edx, edx
call fcn.00515e7c
test al, al
je 0x5b586f
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x54], 0x26
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x52c]
cmp dword [edx + eax*8 + 0xe0], 0
jge 0x5b586f
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x54], 0x26
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x52c]
lea eax, [edx + eax*8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x64]
mov ecx, edx
shl edx, 4
sub edx, ecx
cmp dword [eax + edx*4 + 0x14], 0x32
jle 0x5b586f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.0059ad2c
cmp dword [eax + 0xa24c], 0
jl 0x5b586f
mov eax, dword [ebp + 8]
mov byte [eax - 0x5d], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.0059ad2c
imul eax, dword [eax + 0xa24c], 0x26
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x52c]
lea eax, [edx + eax*8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
movzx edx, byte [edx + 0x297]
mov ecx, edx
shl edx, 4
sub edx, ecx
mov eax, dword [eax + edx*4 + 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.00437ef4
mov eax, dword [eax + 0xc]
pop edx
call fcn.004323d0
mov eax, dword [ebx]
cmp byte [eax + 0x16], 0
jne 0x5b588a
push 0x60
push edi
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
push eax
call sub.KERNEL32.DLL_MulDiv
mov dword [ebp - 4], eax
jmp 0x5b5892
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax - 0x58]
mov eax, dword [ebp - 4]
pop edx
sub eax, edx
sar eax, 1
jns 0x5b58a5
adc eax, 0
add eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x58]
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x5c]
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov dword [edx - 0x30], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x5c], 0
je 0x5b590e
mov eax, dword [ebx]
cmp dword [eax + 0x20], 0
je 0x5b590e
mov eax, dword [ebx]
cmp byte [eax + 0x8a], 2
sete al
and eax, 0x7f
inc eax
mov edx, dword [ebx]
imul dword [edx + 0x64]
imul edi
mov ecx, 0x60
cdq
idiv ecx
mov edx, dword [ebp + 8]
add dword [edx - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [eax - 0x68], 0x100
mov eax, dword [ebx]
cmp dword [eax + 0x20], 0
je 0x5b597e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
or eax, 0x20
or eax, 0x8000
or eax, 0
mov edx, dword [ebp + 8]
mov dword [edx - 0x68], eax
mov eax, dword [ebp + 8]
push dword [eax - 0x40]
mov eax, dword [ebp - 4]
pop edx
sub eax, edx
sar eax, 1
jns 0x5b594a
adc eax, 0
add eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx - 0x2c], eax
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x40]
mov edx, dword [ebp + 8]
mov dword [edx - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x44]
mov edx, dword [ebp - 0x1c]
call fcn.0043a268
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
jmp 0x5b598a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
cmp dword [ebp - 8], 0
je 0x5b59ea
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x30]
jne 0x5b59b8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x10]
je 0x5b59c7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp + 8]
add dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax - 0x1c], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax - 0x14], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
add eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
jmp 0x5b59f6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x2cc]
cmp byte [eax + 0x5f], 1
jne 0x5b5a4c
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov cl, 1
call fcn.0057a5c0
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
mov cl, 1
call fcn.0057a5c0
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, 0xffffffd0
mov cl, 1
call fcn.0057a5c0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
or eax, 2
or eax, 0x20000
mov edx, dword [ebp + 8]
mov dword [edx - 0x68], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
cmp dword [eax + 0x68], 0
je 0x5b5b49
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x68]
call fcn.00507a6c
mov edx, eax
xor ecx, ecx
mov eax, esi
call fcn.0057a328
test al, al
je 0x5b5b49
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x68]
mov edx, edi
call fcn.004c6d6c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x260]
mov edi, dword [eax + 0x68]
mov eax, edi
mov edx, dword [0x4c57a4]
call fcn.00404ba0
test al, al
jne 0x5b5ad3
mov eax, dword [ebp + 8]
mov eax, edi
mov edx, dword [0x6287bc]
call fcn.00404ba0
test al, al
je 0x5b5b1d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
push esi
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x64]
push eax
push 1
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.00597ed4
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x3c]
mov eax, dword [ebp + 8]
mov eax, edi
call fcn.004c633c
jmp 0x5b5c6a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
push esi
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.00437ef4
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, edi
call fcn.00466c68
jmp 0x5b5c6a
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x5b5c6a
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x5b5c6a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov eax, esi
call fcn.00437ef4
xor ecx, ecx
xor edx, edx
call fcn.004336e4
mov edx, eax
mov eax, esi
call fcn.0043904c
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
call fcn.00437fe0
cmp al, 7
je 0x5b5bcb
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dl, 7
call fcn.00438ee4
push 0x1fffffff
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov eax, esi
call fcn.0057a538
lea edx, [ebp - 0x3c]
mov eax, esi
mov cl, 0xff
call fcn.004b9c0c
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
call fcn.00437fe0
cmp al, 7
jne 0x5b5c6a
cmp edi, 0x60
jne 0x5b5c23
mov eax, dword [ebx]
cmp byte [eax + 0x19], 0
jne 0x5b5c23
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [0x63cea0]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
call fcn.0057a538
lea edx, [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x3c]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0056b800
jmp 0x5b5c6a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x5c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x58]
push eax
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
push esi
push 0
push 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.0056afc4
mov eax, dword [ebx]
cmp dword [eax + 0x20], 0
je 0x5b5d68
mov eax, dword [ebp + 8]
cmp dword [eax - 0x6c], 0
je 0x5b5cc0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
push eax
push 0xf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x70]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
add eax, 0x20
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
call fcn.00405e40
mov edx, eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.005681d4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.00437ef4
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00432e70
mov eax, dword [ebp + 8]
cmp byte [eax - 0x5d], 0
jne 0x5b5cf1
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
xor edx, edx
call fcn.00515e7c
test al, al
jne 0x5b5cf5
xor eax, eax
jmp 0x5b5cf7
mov al, 1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x54]
or ecx, 0xffffffff
call fcn.0057a2b4
mov edx, dword [ebp + 8]
mov dword [edx - 0x74], eax
mov eax, dword [ebp + 8]
add eax, 0xffffffd0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x74]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x64]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.0059ad2c
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x2cc]
mov edx, dword [eax]
call dword [edx + 0x50]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
call fcn.00405e40
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
pop ecx
call fcn.004b9534
jmp 0x5b5d74
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
cmp dword [ebp - 8], 0
je 0x5b5f06
mov eax, dword [ebp + 8]
cmp byte [eax - 0x5d], 0
je 0x5b5e1a
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
push 3
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.0059ad2c
mov eax, dword [eax + 0x74]
call fcn.0058f318
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.00597ed4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.0059ad2c
imul eax, dword [eax + 0xa24c], 0x26
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x52c]
lea eax, [edx + eax*8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
movzx edx, byte [edx + 0x297]
mov ecx, edx
shl edx, 4
sub edx, ecx
mov edx, dword [eax + edx*4 + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
mov ecx, 0x1fffffff
call fcn.00561bfc
jmp 0x5b5f06
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
xor edx, edx
call fcn.00515e7c
test al, al
je 0x5b5eaa
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4d], 0
je 0x5b5eaa
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
push 3
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.0059ad2c
mov eax, dword [eax + 0x74]
call fcn.0058f318
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.00597ed4
push eax
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x54], 0x26
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x52c]
lea eax, [edx + eax*8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x64]
mov ecx, edx
shl edx, 4
sub edx, ecx
mov edx, dword [eax + edx*4 + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
mov ecx, 0x1fffffff
call fcn.00561bfc
jmp 0x5b5f06
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
push 3
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.0059ad2c
mov eax, dword [eax + 0x74]
call fcn.0058f318
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x270]
call fcn.00597ed4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.00437ef4
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
mov ecx, 0x1fffffff
call fcn.00561bfc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret