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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
push dword [esi + 8]
lea ecx, [ebp - 0xc]
call fcn.759ce78f
mov edi, dword [esi + 0x44]
cmp dword [esi + 0x40], edi
jne 0x75b62028
mov eax, edi
sub eax, dword [esi + 0x48]
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
cdq
and edx, 3
add eax, edx
sar ecx, 1
sar eax, 2
cmp ecx, eax
jle 0x75b61ffe
mov eax, ecx
cmp eax, 4
jge 0x75b62006
push 4
pop eax
add edi, eax
push edi
push dword [esi + 0x24]
mov ecx, esi
call fcn.759cc7b0
test eax, eax
jne 0x75b62028
mov eax, dword [ebp - 0xc]
add eax, 0x54
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x75b62040
push ebx
mov ebx, dword [esi + 0x14]
test ebx, ebx
jne 0x75b62046
mov eax, dword [ebp - 0xc]
add eax, 0x54
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, dword [esi + 0x24]
dec ecx
imul ecx, eax
lea ebx, [ebx + ecx*4]
mov ecx, eax
shl ecx, 2
inc dword [esi + 0x40]
mov eax, dword [esi + 0x40]
mov edx, dword [edi]
sub eax, edx
imul eax, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x75b620c9
cmp dword [esi + 0x4c], 0
je 0x75b62087
lea eax, [edx - 1]
mov dword [edi], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x78]
inc dword [edi]
cmp dword [esi + 0x38], 0
je 0x75b620b7
mov eax, dword [esi + 0x3c]
cmp eax, dword [edi]
jl 0x75b62098
inc eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x40]
jmp 0x75b620b3
movzx edx, word [eax]
dec ecx
cmp edx, dword [edi]
jb 0x75b620ad
mov edx, dword [eax]
inc edx
mov dword [eax], edx
mov edx, dword [esi + 0x24]
lea eax, [eax + edx*4]
test ecx, ecx
jne 0x75b620a0
push dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, ebx
push ebx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
push dword [ebp + 8]
push 0
push ebx
call sub.msvcrt.dll_memset
lea eax, [esi + 0xda]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add dword [ebp + 0xc], 4
and eax, 0x3000000
add eax, 0x8000000
mov dword [ebx], eax
mov eax, dword [esi + 0x20]
add esp, 0xc
lea ecx, [ebx + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
test eax, eax
je 0x75b6214f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
dec dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
test eax, eax
je 0x75b6213d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
test ecx, 0x800
je 0x75b6213d
push eax
test ecx, 0x400
je 0x75b62137
mov ecx, dword [esi + 8]
call fcn.759cd2eb
jmp 0x75b6213d
call fcn.759cc8ed
pop ecx
add dword [ebp + 8], 2
add dword [ebp + 0xc], 4
add dword [ebp - 4], 4
cmp dword [ebp - 8], 0
jne 0x75b62105
cmp dword [esi + 0x38], 0
je 0x75b6218c
push ebx
push dword [edi]
mov ecx, esi
call fcn.75b5d1ca
cmp eax, 0xffffffff
jne 0x75b6218c
mov ebx, dword [esi + 0x54]
or dword [esi + 0x54], eax
push dword [edi]
mov ecx, esi
call fcn.75b5f346
mov dword [esi + 0x54], ebx
xor esi, esi
mov eax, dword [ebp - 0xc]
add eax, 0x54
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x75b6203f
or dword [esi + 0x54], 0xffffffff
xor esi, esi
inc esi
jmp 0x75b62178