Function at 0x6efd8d7e
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]
cmp dword [esi + 0x7c], 0
je 0x6efd8dc2
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0xdc]
xor ecx, ecx
add eax, eax
cmp edx, ecx
jb 0x6efd8dc2
ja 0x6efd8dbe
mov ecx, dword [esi + 0xd8]
cmp ecx, eax
jb 0x6efd8dc2
xor edi, edi
jmp 0x6efd8dc7
mov edi, 1
cmp dword [esi + 0x620], 0
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xd8]
lea ebx, [esi + 0x58]
mov dword [ebp - 8], ebx
jne 0x6efd8df4
push 0x64
push edi
push edx
push eax
push ecx
mov ecx, ebx
call fcn.6efdca0a
jmp 0x6efd8e07
push 1
push edi
push edx
push eax
push ecx
mov ecx, ebx
call fcn.6efdca0a
dec dword [esi + 0x620]
test edi, edi
jne 0x6efd8e24
mov ecx, dword [ebx]
mov edi, dword [ebx + 4]
mov eax, dword [esi + 0x7c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
neg ecx
adc edi, 0
neg edi
push edi
push ecx
push eax
call edx
lea eax, [esi + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
cmp dword [esi + 0xa8], edi
je 0x6efd8f74
cmp dword [esi + 0xa4], edi
je 0x6efd8f74
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
cmp eax, edi
ja 0x6efd8e5c
jmp 0x6efd8fc7
xor edi, edi
mov ecx, dword [esi + 0xac]
mov dword [ebp - 0xc], eax
cmp eax, ecx
jbe 0x6efd8e75
sub eax, ecx
mov dword [ebp + 8], eax
mov eax, ecx
mov dword [ebp - 0xc], eax
jmp 0x6efd8e78
mov dword [ebp + 8], edi
cmp dword [esi + 0xa4], 0
lea ebx, [eax + eax]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
jbe 0x6efd8ea6
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + edi*4]
push ebx
push 0
push ecx
call dword [0x6efea034]
inc edi
cmp edi, dword [esi + 0xa4]
jb 0x6efd8e8a
mov eax, dword [esi + 0xa8]
mov edi, dword [eax]
mov edx, dword [ebp - 4]
mov ecx, dword [esi + 0xe4]
mov dword [ebp - 0x14], eax
lea eax, [edx + edx]
mov edx, dword [esi + 0xe0]
mov ebx, eax
xor eax, eax
push eax
push 2
push ecx
push edx
mov dword [ebp - 0x10], eax
call fcn.6ef83aad
mov ecx, dword [edi + 0x14]
add ebx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
push eax
mov eax, dword [ebp - 0x14]
push ebx
push eax
call ecx
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xa8]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [esi + 0xa4]
push ecx
mov ecx, dword [esi + 0x9c]
xor edi, edi
push edi
push ecx
mov ecx, dword [esi + 0x98]
push ecx
mov ecx, dword [esi + 0x94]
push ecx
mov ecx, dword [esi + 0xa0]
push ecx
push eax
call edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 4]
xor edx, edx
mov ecx, edi
add ecx, dword [esi + 0xe0]
lea eax, [ebp - 0x20]
adc edx, dword [esi + 0xe4]
push eax
push edx
push ecx
mov ecx, dword [ebp - 8]
call fcn.6efdc965
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.6efd8ce9
mov eax, dword [ebp + 8]
add edi, ebx
mov dword [ebp - 4], edi
test eax, eax
ja 0x6efd8e5a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 0x24]
lea ecx, [esi + 0x80]
call eax
mov esi, eax
cmp esi, edi
je 0x6efd8fc7
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
call fcn.6efd70b5
test eax, eax
je 0x6efd8fc0
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x11c], edi
jne 0x6efd8fc0
movzx eax, word [ecx + 0xf8]
imul eax, ebx
add eax, dword [ecx + 0x118]
xor edx, edx
div dword [ecx + 0x3c]
mov dword [ecx + 0x118], edx
mov esi, dword [esi + 8]
cmp esi, edi
jne 0x6efd8f8e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4