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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebx + 0x14], 0xffffffff
jne 0x5ef7c8
mov eax, dword [ebp - 4]
add eax, 0x14
movzx edi, word [eax]
add edi, 0x10
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x66d2f8]
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x78]
mov eax, dword [ebx + 8]
call fcn.004b01c4
mov dword [ebp - 0xc], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x66d2f8]
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x74]
mov eax, dword [ebx + 8]
call fcn.004b30c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5ef75e
cmp dword [ebp - 0x1c], 0
je 0x5ef766
mov eax, dword [ebp - 0x1c]
jmp 0x5ef8dd
cmp dword [ebp - 0xc], 0
je 0x5ef780
mov eax, dword [ebp - 4]
add eax, 0x10
movzx eax, word [eax]
add eax, 0x10
add eax, 0x18
mov dword [ebp - 0x14], eax
jmp 0x5ef7da
mov eax, dword [esi]
add eax, 8
movzx ecx, word [eax]
add ecx, edi
mov eax, ecx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
cmp edx, dword [esp + 4]
jne 0x5ef7a8
cmp eax, dword [esp]
pop edx
pop eax
jae 0x5ef7bd
jmp 0x5ef7ac
pop edx
pop eax
jge 0x5ef7bd
mov eax, ecx
xor edx, edx
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 8]
call fcn.005ec274
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x14], eax
jmp 0x5ef7da
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, 0x1c
movzx edi, word [eax]
add edi, 0x18
mov eax, dword [esi]
add eax, 8
movzx eax, word [eax]
add eax, edi
cmp eax, dword [ebp - 0x14]
jbe 0x5ef81e
mov eax, dword [esi]
add eax, 8
movzx eax, word [eax]
add eax, edi
call fcn.0040d7d8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, edi
call fcn.00402da0
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov ecx, edi
sub ecx, dword [ebp - 0x18]
mov eax, dword [esi]
add eax, 8
movzx edx, word [eax]
add edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
call fcn.00402da0
mov eax, dword [esi]
mov edx, eax
add edx, 8
movzx ecx, word [edx]
mov edx, dword [ebp + 8]
push edx
pop edx
call fcn.00402da0
mov eax, dword [esi]
add eax, 8
movzx eax, word [eax]
add edi, eax
mov eax, esi
call fcn.0040d7e8
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebx], eax
xor eax, eax
mov dword [ebx + 4], eax
cmp byte [ebp - 0x1d], 0
je 0x5ef8c0
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x14], 0xffffffff
jne 0x5ef8a0
mov eax, dword [ebp - 4]
add eax, 0x10
movzx eax, word [eax]
add eax, 0x10
add eax, 0x18
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 8]
call fcn.005ec274
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5ef8b6
push edi
mov edx, esi
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.005ef418
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
call fcn.0040d7e8
jmp 0x5ef8da
mov eax, dword [ebx + 0x48]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 8]
call fcn.005ef2d4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4