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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c797
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push edi
push 0xffffffffffffffff
mov ebx, ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x64], ebx
call fcn.00527c50
xor esi, esi
push esi
lea edi, [ebx + 0x1d8]
push esi
mov ecx, edi
call fcn.00538ad0
mov ecx, dword [ebx + 0x1e8]
mov edx, dword [ebx + 0x1e4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + 0x1ec]
imul ecx, dword [ebp - 0x10]
imul ecx, edx
mov edx, ecx
dec ecx
test edx, edx
je 0x53b0fb
add eax, 0x1c
inc ecx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], edx
mov edx, dword [eax]
and edx, 0xffff7d00
or edx, 0x7d00
mov dword [eax], edx
lea edx, [eax - 0xc]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x14]
add eax, 0x30
dec ecx
mov dword [ebp - 0x14], ecx
jne 0x53b0bf
mov dl, byte [ebp + 0x13]
mov dword [ebp - 0x20], 0xffffffff
mov byte [ebp - 0x60], dl
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov al, byte [ebp + 0x13]
mov dword [ebp - 4], esi
mov byte [ebp - 0x38], al
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
lea ecx, [ebp + 8]
push ecx
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.004339a0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x10]
push edx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
call fcn.0053e500
mov eax, dword [edi + 0x10]
imul eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add eax, edx
imul eax, dword [edi + 0xc]
add eax, ecx
mov ecx, dword [edi + 8]
lea eax, [eax + eax*2]
shl eax, 4
mov edx, dword [eax + ecx + 0x1c]
add eax, ecx
and edx, 0xffff0000
mov dword [eax + 0x1c], edx
lea ecx, [eax + 0x10]
mov edx, ecx
or ecx, 0xffffffff
mov dword [edx], ecx
or ecx, 0xffffffff
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edx + 8], ecx
mov edx, dword [eax + 0x24]
and edx, 0x3f
cmp dl, 3
jne 0x53b1a2
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x10], 2
jmp 0x53b1ad
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x10], 1
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp + 8]
push eax
dec edx
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp + 0xc], edx
call fcn.004339a0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x48]
push edx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x48], esi
call fcn.0053e500
mov eax, dword [edi + 0x10]
imul eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add eax, ecx
imul eax, dword [edi + 0xc]
add eax, edx
mov edx, dword [edi + 8]
lea eax, [eax + eax*2]
shl eax, 4
mov ecx, dword [eax + edx + 0x1c]
add eax, edx
mov edx, dword [ebp - 0x20]
and ecx, 0xffff0000
mov dword [eax + 0x1c], ecx
add eax, 0x10
mov ecx, eax
or eax, 0xffffffff
mov dword [ecx], eax
or eax, 0xffffffff
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp + 8]
push eax
inc edx
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp + 8], edx
call fcn.004339a0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x48]
push edx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x48], esi
call fcn.0053e500
mov esi, dword [edi + 0x10]
imul esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add esi, ecx
imul esi, dword [edi + 0xc]
mov ecx, dword [edi + 8]
add esi, eax
lea esi, [esi + esi*2]
shl esi, 4
mov eax, dword [esi + ecx + 0x1c]
add esi, ecx
and eax, 0xffff0000
mov dword [esi + 0x1c], eax
or eax, 0xffffffff
lea ecx, [esi + 0x10]
mov dword [ecx], eax
or eax, 0xffffffff
mov dword [ecx + 4], eax
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x53b51e
mov ecx, dword [ebp - 0x58]
mov edx, ecx
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x53b51e
mov edx, dword [ebp - 0x30]
add ecx, 0xfffffff4
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add edx, 0xfffffffc
mov dword [ebp - 0x20], ecx
push edx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], esi
call fcn.00447e90
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff4
push eax
lea ecx, [ebp - 0x60]
call fcn.0053e100
mov eax, dword [edi + 0x10]
imul eax, dword [ebp - 0x20]
mov edx, dword [edi + 8]
add eax, esi
imul eax, dword [edi + 0xc]
add eax, ebx
lea esi, [eax + eax*2]
shl esi, 4
mov eax, dword [esi + edx + 0x1c]
add esi, edx
and eax, 0xffff
mov dword [ebp - 0x6c], eax
mov eax, 0x681398
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x1c], eax
jmp 0x53b31b
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push edx
mov edx, dword [ebp - 0x24]
add eax, edx
add ecx, ebx
push eax
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00527c50
mov ebx, dword [eax]
test ebx, ebx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
jl 0x53b4e1
mov eax, dword [ebp - 0x64]
cmp ebx, dword [eax + 0x1e4]
jge 0x53b4e1
test ecx, ecx
jl 0x53b4e1
cmp ecx, dword [eax + 0x1e8]
jge 0x53b4e1
mov eax, dword [edi + 0x10]
imul eax, edx
add eax, ecx
imul eax, dword [edi + 0xc]
add eax, ebx
lea esi, [eax + eax*2]
mov eax, dword [edi + 8]
shl esi, 4
add esi, eax
mov eax, dword [esi + 0x24]
and eax, 0x3f
cmp eax, 8
je 0x53b4e1
cmp eax, 9
je 0x53b4e1
mov ecx, dword [esi + 0x28]
shr ecx, 0x1f
test cl, 1
jne 0x53b4e1
xor edx, edx
cmp eax, 3
mov eax, dword [ebp - 0x14]
sete dl
and eax, 0xff
cmp edx, eax
jne 0x53b4e1
call fcn.006053cc
mov ecx, dword [ebp - 0x6c]
and eax, 0x1f
lea eax, [eax + ecx + 1]
test dword [esi + 0x24], 0x3c000000
mov dword [ebp - 0x48], eax
je 0x53b3ed
add eax, 0x1e
mov dword [ebp - 0x48], eax
mov edx, dword [esi + 0x1c]
and edx, 0xffff
cmp eax, edx
jae 0x53b4e1
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffffc
sar ecx, 1
and ecx, 3
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x28]
shr ecx, 8
and edx, ecx
test dl, 0xf
jne 0x53b4e1
mov ecx, dword [esi + 0x1c]
mov edx, ecx
xor edx, eax
and edx, 0xffff
xor edx, ecx
mov dword [esi + 0x1c], edx
mov edx, dword [ebp - 0x28]
lea ecx, [esi + 0x10]
mov dword [ecx], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 8], edx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x94], ecx
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x9c], ebx
jne 0x53b46f
xor edx, edx
jmp 0x53b484
mov edx, dword [ebp - 0x58]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], edx
lea ebx, [edx + ecx]
sar ebx, 1
cmp ecx, edx
jge 0x53b4aa
mov edx, dword [ebp - 0x48]
cmp edx, dword [eax + ebx*4]
jge 0x53b4a3
mov edx, dword [ebp - 0x18]
lea ecx, [ebx + 1]
jmp 0x53b48a
mov edx, ebx
mov dword [ebp - 0x18], edx
jmp 0x53b48a
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebx + ebx*2]
lea eax, [edx + ecx*4]
push eax
lea ecx, [ebp - 0x60]
call fcn.004339a0
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [edx + ebx*4]
push eax
lea ecx, [ebp - 0x38]
call fcn.0053e500
mov ecx, dword [esi + 0x28]
shr ecx, 0x1e
test cl, 1
jne 0x53b506
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x68]
add eax, 0x10
add ebx, 2
cmp eax, 0x6813d8
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x1c], eax
jl 0x53b315
mov ebx, dword [ebp - 0x64]
jmp 0x53b284
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
push edx
push eax
lea ecx, [ebp - 0x60]
call fcn.0053e4b0
mov ebx, dword [ebp - 0x64]
jmp 0x53b284
mov eax, dword [esi + 0x28]
mov ecx, eax
shr ecx, 0x1e
test cl, 1
jne 0x53b58c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
push edx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00404190
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005f8040
mov edx, dword [ebp - 0x58]
xor eax, eax
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x5c]
push edx
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.00404190
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.005f8040
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x40]
or eax, 0x40000000
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x10]
imul eax, dword [edi + 0xc]
imul eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x3c]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [edi + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0x1e8]
mov ebx, dword [ebx + 0x1e4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x88], 0x62bfec
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 1
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x90], 0x62c05c
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x70], edx
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x6c], ecx
push eax
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 3
call fcn.0054f240
mov eax, dword [esi + 0x28]
test ah, 0xf
mov byte [ebp - 4], 4
je 0x53b91e
xor ebx, ebx
shr eax, 8
mov edx, 1
mov ecx, ebx
shl edx, cl
and edx, eax
test dl, 0xf
jne 0x53b64f
inc ebx
cmp ebx, 4
jl 0x53b639
mov al, byte [0x681b24]
test al, 1
jne 0x53b6be
mov dl, al
mov eax, 4
mov ecx, 1
mov dword [0x681400], eax
mov eax, ecx
mov dword [0x681404], ecx
mov ecx, 4
mov dword [0x681408], eax
mov dword [0x68140c], ecx
mov eax, 0xfffffffe
mov ecx, 1
mov dword [0x681410], eax
mov eax, ecx
mov dword [0x681414], ecx
or dl, 1
mov ecx, 0xfffffffe
push 0x53b610
mov byte [0x681b24], dl
mov dword [0x681418], eax
mov dword [0x68141c], ecx
call fcn.00604eb3
add esp, 4
mov al, byte [ebp - 0x14]
test al, al
je 0x53b6d1
mov eax, dword [ebx*4 + 0x62bfd0]
mov dword [ebp - 0x14], eax
jmp 0x53b6db
mov ecx, dword [ebx*4 + 0x62bfc0]
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 0x24]
shl eax, 0x1a
sar eax, 0x1a
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp - 0x64]
mov ecx, dword [esi + 0xb2c]
test ecx, ecx
je 0x53b766
mov edx, dword [esi + 0xb30]
sub edx, ecx
mov ecx, dword [ebp - 0x18]
sar edx, 5
cmp ecx, edx
jae 0x53b766
mov ecx, dword [esi + 0xb2c]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + ecx]
add ecx, 0x18
cmp eax, 0xa
mov dword [ebp - 0x4c], ecx
jb 0x53b72d
call fcn.00404250
mov eax, dword [ebp - 0x10]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x4c]
shr eax, 5
test dword [ecx + eax*4], edx
je 0x53b751
mov eax, dword [ebp - 0x14]
mov edx, eax
dec eax
test edx, edx
mov dword [ebp - 0x14], eax
je 0x53b766
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc ecx
add eax, 0x20
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
jmp 0x53b6ef
mov ecx, dword [esi + 0xb2c]
test ecx, ecx
jne 0x53b774
xor eax, eax
jmp 0x53b77f
mov eax, dword [esi + 0xb30]
sub eax, ecx
sar eax, 5
cmp dword [ebp - 0x18], eax
jne 0x53b7ee
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 3
call fcn.0054f2f0
mov dword [ebp - 0x90], 0x62c078
mov dword [ebp - 0x88], 0x62bfec
mov al, byte [ebp - 0x84]
test al, al
mov byte [ebp - 4], 5
je 0x53b7c7
mov ecx, dword [ebp - 0x80]
xor esi, esi
cmp ecx, esi
je 0x53b7c9
push 3
call fcn.00523b40
jmp 0x53b7c9
xor esi, esi
mov eax, dword [ebp - 0x34]
push eax
mov dword [ebp - 0x88], 0x62c008
call fcn.005f8040
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
push ecx
jmp 0x53b9ea
push 0x14
call fcn.00604401
add esp, 4
test eax, eax
je 0x53b827
mov edx, dword [esi + 0xb2c]
mov ecx, dword [ebp - 0x18]
shl ecx, 5
add ecx, edx
mov dword [eax + 4], ecx
mov dword [eax], method.7.virtual_28
inc dword [ecx + 4]
or ecx, 0xffffffff
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [ebp - 0x10], eax
jmp 0x53b82e
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebx*8 + 0x681404]
mov eax, dword [ebx*8 + 0x681400]
push edx
mov edx, dword [ebp - 0x40]
add ecx, edx
push ecx
mov ecx, dword [ebp - 0x44]
add eax, ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00527c50
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, esi
mov dword [edx + 8], eax
call fcn.00531b70
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
shl ebx, 1
mov eax, dword [ebx*8 + 0x681398]
mov ebx, dword [ebx*8 + 0x68139c]
push edx
mov edx, dword [ebp - 0x44]
add ebx, ecx
push ebx
add eax, edx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00527c50
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], ebx
call fcn.004eddf0
mov eax, dword [edi + 0x10]
imul eax, dword [ebp - 0x3c]
mov edx, dword [edi + 8]
add eax, ebx
imul eax, dword [edi + 0xc]
mov ebx, dword [ebp - 0x24]
add eax, esi
mov esi, dword [ebp - 0x28]
lea eax, [eax + eax*2]
shl eax, 4
mov ecx, dword [eax + edx + 0x28]
add eax, edx
or ecx, 0x40000000
lea edx, [ebp - 0x50]
mov dword [eax + 0x28], ecx
push edx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], ebx
call fcn.004eddf0
mov eax, dword [edi + 0x10]
imul eax, dword [ebp - 0x20]
add eax, ebx
imul eax, dword [edi + 0xc]
add eax, esi
lea esi, [eax + eax*2]
mov eax, dword [edi + 8]
shl esi, 4
add esi, eax
mov eax, dword [esi + 0x1c]
mov ebx, 0xffff
test ebx, eax
jbe 0x53b96f
mov eax, dword [edi + 0x10]
add esi, 0x10
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov esi, dword [esi + 8]
imul eax, esi
add eax, edx
imul eax, dword [edi + 0xc]
add eax, ecx
lea esi, [eax + eax*2]
mov eax, dword [edi + 8]
shl esi, 4
add esi, eax
or dword [esi + 0x28], 0x40000000
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ecx
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x4c], edx
call fcn.004eddf0
test dword [esi + 0x1c], ebx
ja 0x53b92a
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 3
call fcn.0054f2f0
mov dword [ebp - 0x90], 0x62c078
mov dword [ebp - 0x88], 0x62bfec
mov al, byte [ebp - 0x84]
test al, al
mov byte [ebp - 4], 6
je 0x53b9c8
mov eax, dword [ebp - 0x80]
xor edi, edi
cmp eax, edi
je 0x53b9ca
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x523590
push ecx
push 0x30
push eax
call fcn.0060522c
push esi
call fcn.005f8040
add esp, 4
jmp 0x53b9ca
xor edi, edi
mov edx, dword [ebp - 0x34]
push edx
mov dword [ebp - 0x88], 0x62c008
call fcn.005f8040
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
push eax
call fcn.005f8040
mov ecx, dword [ebp - 0xc]
add esp, 8
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc