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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xb4]
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x73f5f7e2
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0xe4]
xor ecx, ecx
shl eax, 1
cmp edx, ecx
jb 0x73f5f7e2
ja 0x73f5f7de
mov ecx, dword [esi + 0xe0]
cmp ecx, eax
jb 0x73f5f7e2
xor edi, edi
jmp 0x73f5f7e7
mov edi, 1
mov eax, dword [esi + 0x628]
mov ecx, dword [esi + 0xe0]
mov edx, dword [esi + 0x78]
lea ebx, [esi + 0x58]
test eax, eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 8], ebx
jne 0x73f5f815
push 0x64
push edi
push edx
push eax
push ecx
mov ecx, ebx
call fcn.73f63b2f
jmp 0x73f5f828
push 1
push edi
push edx
push eax
push ecx
mov ecx, ebx
call fcn.73f63b2f
dec dword [esi + 0x628]
test edi, edi
jne 0x73f5f843
mov ecx, dword [ebx]
mov edi, dword [ebx + 4]
mov eax, dword [esi + 0x7c]
mov edx, dword [eax]
neg ecx
adc edi, 0
neg edi
push edi
push ecx
push eax
call dword [edx + 0xc]
lea eax, [esi + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0xa8]
xor edi, edi
cmp eax, edi
je 0x73f5f999
cmp dword [esi + 0xa4], edi
je 0x73f5f999
mov eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp - 4], edi
jbe 0x73f5f9ec
jmp 0x73f5f87e
xor edi, edi
mov ecx, dword [esi + 0xac]
cmp eax, ecx
mov dword [ebp - 0xc], eax
jbe 0x73f5f897
sub eax, ecx
mov dword [ebp + 8], eax
mov eax, ecx
mov dword [ebp - 0xc], eax
jmp 0x73f5f89a
mov dword [ebp + 8], edi
lea ebx, [eax + eax]
mov eax, dword [esi + 0xa4]
test eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
jbe 0x73f5f8cb
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + edi*4]
push ebx
push 0
push eax
call dword [0x73f66018]
mov eax, dword [esi + 0xa4]
inc edi
cmp edi, eax
jb 0x73f5f8ad
mov eax, dword [esi + 0xa8]
mov edi, dword [eax]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
xor eax, eax
push eax
lea edx, [ecx + ecx]
mov ecx, dword [esi + 0xec]
push 2
mov ebx, edx
mov edx, dword [esi + 0xe8]
push ecx
push edx
mov dword [ebp - 0x10], eax
call fcn.73f23638
add ebx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
push eax
mov eax, dword [ebp - 0x14]
push ebx
push eax
call dword [edi + 0x14]
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
mov edx, dword [esi + 0xa4]
push edx
mov edx, dword [esi + 0x9c]
xor edi, edi
push edi
push edx
mov edx, dword [esi + 0x98]
push edx
mov edx, dword [esi + 0x94]
push edx
mov edx, dword [esi + 0xa0]
push edx
push eax
call dword [ecx + 0x18]
mov ebx, dword [esi + 0xe8]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 0xec]
xor edx, edx
mov ecx, edi
add ecx, ebx
adc edx, eax
push edx
push ecx
mov ecx, dword [ebp - 8]
call fcn.73f63a8a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.73f5e418
mov eax, dword [ebp + 8]
add edi, ebx
test eax, eax
mov dword [ebp - 4], edi
ja 0x73f5f87c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x80]
lea ecx, [esi + 0x80]
call dword [edx + 0x24]
mov esi, eax
cmp esi, edi
je 0x73f5f9ec
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
call fcn.73f5cb7c
test eax, eax
je 0x73f5f9e5
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x120], edi
jne 0x73f5f9e5
movzx eax, word [ecx + 0xfc]
mov edx, dword [ecx + 0x11c]
imul eax, ebx
add eax, edx
xor edx, edx
div dword [ecx + 0x3c]
mov dword [ecx + 0x11c], edx
mov esi, dword [esi + 8]
cmp esi, edi
jne 0x73f5f9b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4