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

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov ecx, dword [ebx + 0x34]
mov ecx, dword [ecx + 0x38]
call dword [0x652b1bec]
mov edi, dword [esp + 0xb0]
lea esi, [ebx + 0x38]
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov ecx, dword [edi]
cmp edx, ecx
je 0x6529541f
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
test eax, eax
jne 0x65295459
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push dword [eax + 4]
call dword [0x652b23d4]
mov ecx, dword [edi]
mov edi, dword [ecx + 8]
add ecx, 0x10
lea edi, [ecx + edi*4]
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
add ebp, 4
add esi, 4
lea ebp, [ecx + ebp*4]
lea esi, [ecx + esi*4]
cmp esi, ebp
je 0x65295409
push edi
mov ecx, esi
call dword [0x652b2414]
add esi, 4
add edi, 4
cmp esi, ebp
jne 0x652953f2
mov ecx, dword [esp + 0x10]
lea esi, [ebx + 0x38]
mov eax, dword [esi]
mov dword [esi], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.6500b640
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 8]
jne 0x6529548e
lea ecx, [esp + 0x1c]
call dword [0x652b2418]
mov ecx, dword [esi]
mov edi, eax
mov ecx, dword [ecx]
cmp ecx, 1
je 0x6529546b
test ecx, ecx
je 0x6529546b
push 1
push 0x7fffffff
mov ecx, esi
call fcn.6518d170
push edi
mov ecx, eax
call dword [0x652b2414]
jmp 0x65295484
cmp eax, 0xffffffff
je 0x65295465
mov eax, dword [esp + 0x10]
lock inc dword [eax]
mov ecx, dword [esp + 0x10]
jmp 0x6529540c
push edi
lea ecx, [esp + 0x3c]
call dword [0x652b2414]
mov ecx, esi
call dword [0x652b23c4]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
call dword [0x652b2410]
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
movups xmm0, xmmword [esp + 0x8c]
mov dword [ebx + 0x4c], 0xffffffff
mov byte [esp + 0x5c], 0
movups xmmword [ebx + 0x3c], xmm0
call dword [0x652b2424]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], eax
push ecx
lea ecx, [ebx + 4]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov byte [esp + 0x74], 0
call fcn.65293620
mov eax, dword [esp + 0x60]
or edi, 0xffffffff
mov ebp, dword [0x652b2428]
mov eax, dword [eax]
mov ecx, dword [esp + 0x60]
test eax, eax
je 0x6529552e
cmp eax, edi
je 0x65295538
mov eax, edi
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x65295538
push 4
push 4
push ecx
call ebp
add esp, 0xc
lea eax, [esp + 0x74]
mov ecx, ebx
push eax
call fcn.652965a0
push eax
lea ecx, [ebx + 0x1c]
call fcn.65293620
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
test eax, eax
je 0x6529556d
cmp eax, 0xffffffff
je 0x6529557d
mov eax, dword [esp + 0x78]
mov ecx, edi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6529557d
push 4
push 4
push dword [esp + 0x80]
call ebp
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x652957e4
mov ecx, dword [esi]
xor edx, edx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
dec eax
mov dword [esp + 0x10], edx
test eax, eax
jle 0x65295684
nop
mov eax, dword [ecx + 8]
lea ecx, [ecx + 0x10]
add eax, edx
lea eax, [ecx + eax*4]
push eax
lea ecx, [esp + 0x1c]
call dword [0x652b2414]
mov eax, dword [ebx]
lea ecx, [esp + 0x3c]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
test eax, eax
je 0x65295618
cmp eax, 0xffffffff
je 0x65295628
mov eax, dword [esp + 0x78]
mov ecx, edi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x65295628
push 4
push 4
push dword [esp + 0x80]
call ebp
add esp, 0xc
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x65295756
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov edx, dword [eax + 0x2c]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x34]
push dword [eax + 0x54]
lea eax, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x20]
push eax
call edx
lea ecx, [esp + 0x18]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x3c], xmm0
call dword [0x652b2410]
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
dec eax
cmp edx, eax
jl 0x652955c0
movups xmm0, xmmword [esp + 0x3c]
lea edx, [ebx + 0x3c]
movups xmmword [edx], xmm0
mov eax, dword [ecx + 0xc]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx + 0xc]
add ecx, 0xc
cmp dword [eax + 4], 0
jne 0x6529576d
mov ecx, dword [esp + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov byte [esp + 0x4c], 0
lea esi, [eax - 1]
call dword [0x652b2424]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x50]
mov dword [esp + 0x54], 0
push eax
mov dword [esp + 0x5c], esi
mov byte [esp + 0x24], 0
call fcn.650e05a0
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0xffffffff
mov byte [esp + 0x38], 0
call fcn.65293620
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x65295726
cmp eax, 0xffffffff
je 0x65295730
mov eax, edi
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x65295730
push 4
push 4
push ecx
call ebp
add esp, 0xc
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
test eax, eax
je 0x6529574f
cmp eax, 0xffffffff
je 0x652957b2
lock xadd dword [ecx], edi
dec edi
setne al
test al, al
jne 0x652957b2
push 4
push 4
push ecx
jmp 0x652957ad
lea ecx, [esp + 0x18]
call dword [0x652b2410]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4
mov eax, dword [ebx]
push 1
push edx
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 4]
push eax
lea ecx, [ebx + 4]
call fcn.65293620
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, eax
je 0x652957a5
cmp eax, 0xffffffff
je 0x652957b2
mov eax, dword [esp + 0x24]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x652957b2
push 4
push 4
push dword [esp + 0x2c]
call ebp
add esp, 0xc
xor ecx, ecx
cmp byte [ebx + 4], cl
je 0x652957d5
mov eax, dword [ebx + 8]
pop edi
pop esi
pop ebp
cmp dword [eax + 4], ecx
setne cl
lea eax, [ecx - 1]
mov dword [ebx + 0x4c], eax
pop ebx
add esp, 0x9c
ret 4
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
setge cl
lea eax, [ecx - 1]
mov dword [ebx + 0x4c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4