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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov edx, dword [0x742040]
xor edx, ebp
mov dword [esp + 0x28], edx
mov dword [ecx], 0x6bc370
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 [ecx + 0xc], edx
test edx, edx
je 0x64c9b5
lock inc dword [edx + 4]
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], ebx
test ebx, ebx
je 0x64c9c9
lock inc dword [ebx + 4]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], esi
lea edi, [ecx + 0x20]
xor ebx, ebx
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], ebx
mov dword [ecx + 0x28], ebx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 8], ecx
mov esi, edx
sub esi, eax
sar esi, 4
mov dword [esp + 4], edi
mov ecx, edi
push esi
push edx
push eax
call fcn.0057b500
mov eax, dword [esp + 8]
lea ecx, [eax + 0x30]
xorps xmm0, xmm0
mov eax, dword [esp + 8]
movups xmmword [eax + 0x2c], xmm0
mov edi, dword [ebp + 0x28]
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov esi, edx
sub esi, eax
sar esi, 4
mov dword [esp + 0xc], ecx
push esi
mov esi, dword [esp + 0xc]
push edx
push eax
call fcn.0057b500
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 ecx, [esi + 0x40]
mov dword [esi + 0x94], ebx
mov dword [esi + 0x90], ebx
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 4
mov dword [esp], ecx
push eax
call fcn.004b77f0
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x44]
jmp 0x64cad3
mov ebx, esi
mov dword [esp], edx
add eax, 0x10
cmp eax, ecx
je 0x64cc54
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
cmp edx, dword [esp]
mov edi, esi
sbb edi, ebx
jb 0x64caa5
jmp 0x64caa0
test eax, eax
je 0x64cafe
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
mov dword [esi + 0x44], eax
add ebx, 0x10
cmp ebx, edi
je 0x64cb0d
mov ecx, dword [ebx + 8]
add ecx, dword [ebx]
mov edx, dword [ebx + 0xc]
adc edx, dword [ebx + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp eax, dword [esi + 0x48]
jb 0x64cac1
mov ecx, dword [esp]
lea eax, [esp + 0x18]
push eax
call fcn.0057ce90
jmp 0x64cacd
push 0x6bd165
push 0x6bd0bf
call fcn.0057cbd0
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
add ecx, 1
adc edx, 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp eax, dword [esi + 0x48]
jae 0x64cb34
test eax, eax
je 0x64cafe
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
jmp 0x64cb41
lea eax, [esp + 0x18]
mov ecx, dword [esp]
push eax
call fcn.0057ce90
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 0x28]
mov edi, dword [eax + 4]
cmp dword [eax], edi
je 0x64cb91
mov esi, dword [ebp + 0x24]
mov eax, dword [esi + 4]
cmp dword [esi], eax
je 0x64ce17
mov esi, edi
mov edi, dword [eax - 8]
add edi, dword [eax - 0x10]
mov ebx, dword [eax - 4]
adc ebx, dword [eax - 0xc]
shrd edi, ebx, 3
shr ebx, 3
add ecx, edi
mov edi, esi
mov eax, dword [esi - 0x10]
adc edx, ebx
add eax, dword [esi - 8]
mov esi, dword [esi - 0xc]
adc esi, dword [edi - 4]
sub ecx, eax
sbb edx, esi
mov esi, dword [esp + 8]
mov dword [esp + 0x10], 0
shld edx, ecx, 3
shl ecx, 3
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x24]
cmp eax, dword [esi + 0x28]
jae 0x64cbca
test eax, eax
je 0x64cafe
mov dword [eax], ecx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
add eax, 0x10
jmp 0x64cbdd
lea eax, [esp + 0x10]
lea edx, [esp + 0x18]
mov ecx, dword [esp + 4]
push eax
push edx
call fcn.0064e9c0
lea edx, [esi + 0x18]
mov dword [esi + 0x24], eax
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x38]
jae 0x64cc12
test eax, eax
je 0x64cafe
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
add eax, 0x10
jmp 0x64cc21
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
push edx
call fcn.0064e9c0
mov dword [esi + 0x34], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], 0
mov ebx, 0
cmp eax, ecx
je 0x64cc54
mov dword [esp], 0
xor ebx, ebx
jmp 0x64cab0
mov ebx, 2
jmp 0x64cd57
mov eax, dword [esp]
add eax, 1
lea ecx, [esp + 0x10]
mov dword [ecx], eax
mov eax, ebx
mov esi, 0
adc eax, esi
mov dword [ecx + 4], eax
lea eax, [esp + 0x27]
lea edi, [esp + 0x18]
push ecx
push eax
push edi
call fcn.0064eab0
add esp, 0xc
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edi], esi
mov dword [edi + 4], esi
mov esi, dword [esp + 8]
mov dword [esi + 0x78], eax
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x7c], ecx
test edx, edx
je 0x64ccfb
xor edi, edi
dec edi
mov eax, edi
lock xadd dword [edx + 4], eax
test eax, eax
jne 0x64cccc
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
call dword [0x73c768]
mov ecx, dword [esp + 4]
call dword [esp + 0xc]
mov ecx, dword [esp + 4]
call fcn.004e2580
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x64ccfb
lock xadd dword [edx + 4], edi
test edi, edi
jne 0x64ccfb
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
mov edi, edx
call dword [0x73c768]
mov ecx, edi
call dword [esp + 4]
mov ecx, edi
call fcn.004e2580
xor eax, eax
mov ecx, dword [esp]
cmp dword [esi + 0x8c], ecx
sbb eax, ebx
jae 0x64cd14
mov dword [esi + 0x8c], 0
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x64cc4a
xor ebx, ebx
xor edx, edx
mov dword [esp], ecx
mov edi, ebx
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
shld ecx, ebx, 3
shl ebx, 3
cmp ebx, edi
mov esi, ecx
sbb esi, edx
cmovae edx, ecx
mov ecx, dword [esp]
cmovb ebx, edi
add eax, 0x10
cmp eax, ecx
jne 0x64cd2b
add ebx, 2
mov esi, dword [esp + 8]
push 0xc
call fcn.00540349
add esp, 4
mov edi, eax
mov ecx, eax
push ebx
call fcn.004dba00
mov ebx, dword [esi + 0x74]
mov dword [esi + 0x74], edi
test ebx, ebx
je 0x64cd89
lea ecx, [esp + 0x18]
mov dword [ecx], ebx
call fcn.004d4610
push ebx
call fcn.00540380
add esp, 4
lea eax, [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
je 0x64cdaa
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x73c768]
mov ecx, edi
push 1
call ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x64cdd5
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x64cdd5
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x73c768]
mov ecx, ebx
call edi
mov ecx, ebx
call fcn.004e2580
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x64ce00
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x64ce00
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x73c768]
mov ecx, ebx
call edi
mov ecx, ebx
call fcn.004e2580
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.005412b6
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x28
push 0x6c6dfc
jmp 0x64cb03