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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov edx, dword [0x754040]
xor edx, ebp
mov dword [esp + 0x18], edx
mov dword [ecx], 0x6cd3b0
mov edx, dword [ebp + 8]
mov dword [ebp + 8], 0
mov dword [ecx + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [esp], ecx
mov dword [ecx + 0xc], edx
test edx, edx
je 0x65d1e8
lock inc dword [edx + 4]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
test edi, edi
je 0x65d1ff
lock inc dword [edi + 4]
mov esi, dword [esp]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x20]
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov edi, edx
sub edi, eax
sar edi, 4
mov dword [esp + 8], ecx
push edi
push edx
push eax
call fcn.0058a020
lea ecx, [esi + 0x30]
xorps xmm0, xmm0
movups xmmword [esi + 0x2c], xmm0
mov edx, dword [ebp + 0x28]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov edi, edx
sub edi, eax
sar edi, 4
mov dword [esp + 0xc], ecx
push edi
push edx
push eax
call fcn.0058a020
mov dword [esi + 0x6c], ebx
xorps xmm0, xmm0
movups xmmword [esi + 0x3c], xmm0
movups xmmword [esi + 0x50], xmm0
movups xmmword [esi + 0x59], xmm0
cmp dword [esi + 8], ebx
setne byte [esi + 0x70]
mov byte [esi + 0x71], 0
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
lea eax, [esi + 0x80]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ebx
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x8c], eax
lea edi, [esi + 0x40]
mov dword [esi + 0x94], ebx
mov dword [esi + 0x90], ebx
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov ebx, ecx
sar eax, 4
mov ecx, edi
push eax
call fcn.004bdad0
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
jmp 0x65d2ea
mov eax, dword [esi + 8]
add eax, dword [esi]
mov ecx, dword [esi + 0xc]
adc ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov ecx, edi
lea eax, [esp + 0x10]
push eax
call fcn.0058ba30
add esi, 0x10
cmp esi, ebx
jne 0x65d2c8
mov esi, dword [esp]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add eax, 1
adc ecx, 0
lea edx, [esp + 0x10]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, edi
push edx
call fcn.0058ba30
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
je 0x65d356
mov ecx, dword [ebp + 0x24]
mov esi, dword [ecx + 4]
cmp dword [ecx], esi
je 0x65d6f1
mov ecx, dword [esi - 8]
add ecx, dword [esi - 0x10]
mov edx, dword [esi - 4]
adc edx, dword [esi - 0xc]
shrd ecx, edx, 3
shr edx, 3
add edi, ecx
mov ecx, dword [eax - 0x10]
adc ebx, edx
add ecx, dword [eax - 8]
mov edx, dword [eax - 0xc]
adc edx, dword [eax - 4]
sub edi, ecx
sbb ebx, edx
mov esi, dword [esp]
shld ebx, edi, 3
mov dword [esp + 4], ebx
shl edi, 3
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
cmp ebx, eax
jb 0x65d423
mov ecx, dword [esp + 8]
mov esi, dword [ecx]
sub ebx, esi
sar ebx, 4
lea edx, [ebx + 1]
cmp edx, 0x10000000
jae 0x65d6f8
sub eax, esi
mov ecx, eax
sar ecx, 3
cmp ecx, edx
cmovbe ecx, edx
cmp eax, 0x7ffffff0
mov esi, 0xfffffff
cmovb esi, ecx
test esi, esi
je 0x65d41f
cmp esi, 0x10000000
jae 0x65d6f3
mov eax, esi
shl eax, 4
push eax
call fcn.0054fbd9
add esp, 4
shl ebx, 4
add ebx, eax
je 0x65d6f1
shl esi, 4
add eax, esi
mov dword [esp + 8], eax
mov dword [ebx], edi
mov eax, dword [esp + 4]
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
lea esi, [ebx + 0x10]
mov edi, dword [esp]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
sub ecx, eax
sub ebx, ecx
push ecx
push eax
push ebx
call fcn.00553570
add esp, 0xc
mov eax, dword [edi + 0x20]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], esi
mov ecx, dword [esp + 8]
mov dword [edi + 0x28], ecx
test eax, eax
je 0x65d441
push eax
call fcn.0054fc10
add esp, 4
jmp 0x65d441
xor eax, eax
jmp 0x65d3c0
test ebx, ebx
je 0x65d6f1
mov dword [ebx], edi
mov eax, dword [esp + 4]
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
add ebx, 0x10
mov esi, ebx
mov edx, dword [esp]
mov dword [edx + 0x24], esi
mov ebx, dword [edx + 0x34]
mov eax, dword [edx + 0x38]
cmp ebx, eax
jae 0x65d47a
test ebx, ebx
je 0x65d6f1
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
add ebx, 0x10
mov esi, ebx
jmp 0x65d52d
xor eax, eax
jmp 0x65d4cb
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx]
sub ebx, esi
sar ebx, 4
lea edx, [ebx + 1]
cmp edx, 0x10000000
jae 0x65d6fd
sub eax, esi
mov ecx, eax
sar ecx, 3
cmp ecx, edx
cmovbe ecx, edx
cmp eax, 0x7ffffff0
mov esi, 0xfffffff
cmovb esi, ecx
test esi, esi
je 0x65d476
cmp esi, 0x10000000
jae 0x65d6f3
mov eax, esi
shl eax, 4
push eax
call fcn.0054fbd9
add esp, 4
shl ebx, 4
add ebx, eax
je 0x65d6f1
shl esi, 4
add eax, esi
mov dword [esp + 4], eax
mov edi, dword [esp]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
lea esi, [ebx + 0x10]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
sub ecx, eax
sub ebx, ecx
push ecx
push eax
push ebx
call fcn.00553570
add esp, 0xc
mov eax, dword [edi + 0x30]
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], esi
mov ecx, dword [esp + 4]
mov dword [edi + 0x38], ecx
test eax, eax
je 0x65d52a
push eax
call fcn.0054fc10
add esp, 4
mov edx, dword [esp]
mov dword [edx + 0x34], esi
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
xor edi, edi
cmp eax, ecx
je 0x65d571
mov dword [esp + 4], 0
jmp 0x65d555
mov dword [esp + 4], esi
mov edi, edx
add eax, 0x10
cmp eax, ecx
je 0x65d579
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
cmp edx, edi
mov ebx, esi
sbb ebx, dword [esp + 4]
jb 0x65d54e
jmp 0x65d548
mov esi, 2
jmp 0x65d639
mov dword [esp + 4], 0
push 0x18
call fcn.0054fbd9
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx], 0x6cd434
mov esi, ebx
add esi, 0xc
je 0x65d6f1
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.004eec80
mov edx, dword [esp]
mov dword [edx + 0x78], esi
mov esi, dword [edx + 0x7c]
mov dword [edx + 0x7c], ebx
test esi, esi
je 0x65d5e0
xor eax, eax
dec eax
lock xadd dword [esi + 4], eax
test eax, eax
jne 0x65d5e0
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x74e248]
mov ecx, esi
call ebx
mov ecx, esi
call fcn.004f7740
mov edx, dword [esp]
xor eax, eax
cmp dword [edx + 0x8c], edi
sbb eax, dword [esp + 4]
jae 0x65d5f8
mov dword [edx + 0x8c], 0
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x65d567
xor esi, esi
xor edx, edx
mov dword [esp + 4], ecx
mov edi, esi
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
shld ecx, esi, 3
shl esi, 3
cmp esi, edi
mov ebx, ecx
sbb ebx, edx
cmovae edx, ecx
mov ecx, dword [esp + 4]
cmovb esi, edi
add eax, 0x10
cmp eax, ecx
jne 0x65d610
add esi, 2
lea ebx, [ebp + 8]
push 0xc
call fcn.0054fbd9
add esp, 4
mov edi, eax
mov ecx, eax
push esi
call fcn.004eec80
mov esi, dword [esp]
mov eax, dword [esi + 0x74]
mov dword [esi + 0x74], edi
test eax, eax
je 0x65d666
lea ecx, [esi + 0x78]
push eax
call fcn.004bdbd0
mov edi, dword [ebx]
mov dword [ebx], 0
test edi, edi
je 0x65d684
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x74e248]
mov ecx, edi
push 1
call ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x65d6af
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x65d6af
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x74e248]
mov ecx, ebx
call edi
mov ecx, ebx
call fcn.004f7740
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x65d6da
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x65d6da
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x74e248]
mov ecx, ebx
call edi
mov ecx, ebx
call fcn.004f7740
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.00550b46
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x28
ud2
call fcn.005836c0
call fcn.00583020
call fcn.00583020
int3