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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
lea eax, [ebp + 0x18]
mov dword [esp], eax
call dword [ebp + 0x48]
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x4c]
test ebx, ebx
jne 0x491c3c
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
mov ebx, dword [eax + 8]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x491b6e
mov dword [esp + 0x1c], esi
xor esi, esi
mov dword [esp + 0x20], ebp
nop
mov edi, dword [esp + 0x2c]
add edi, dword [ebx + 8]
mov ebp, dword [ebx]
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00491a2c
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x14]
mov edx, dword [edx + esi*4]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x491bf4
mov edx, dword [edx + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + edx]
test edx, edx
je 0x491bf4
mov dword [edi], edx
mov eax, dword [ebx + 4]
cmp eax, 6
je 0x491bd0
cmp eax, 8
je 0x491bac
cmp eax, 5
je 0x491b7c
inc esi
add ebx, 0x10
add dword [esp + 0x1c], 4
cmp esi, dword [esp + 0x28]
jne 0x491afc
mov eax, 1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call fcn.004cfad4
mov dword [edi], eax
test eax, eax
setne al
movzx eax, al
test eax, eax
jne 0x491b5f
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
mov dword [esp + 8], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call fcn.004cfb10
mov dword [edi], eax
test eax, eax
setne al
movzx eax, al
jmp 0x491b9e
mov dword [esp + 8], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call fcn.004cfaa0
mov dword [edi], eax
test eax, eax
setne al
movzx eax, al
jmp 0x491b9e
test eax, eax
je 0x491c04
mov dword [edi], eax
mov edx, eax
jmp 0x491b4d
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], ebx
mov ebx, edx
nop
mov dword [esp + 4], ebp
lea eax, [ebx + 0x3c]
mov dword [esp], eax
call dword [ebx + 0x68]
test eax, eax
jne 0x491cb0
mov ebx, dword [ebx + 0x78]
test ebx, ebx
jne 0x491c10
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
jmp 0x491b4b
lea edi, [ebp + 4]
lea ecx, [ebp + 0x10]
mov dword [esp + 0x34], ecx
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea eax, [eax*8 + 1]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x14]
mov esi, eax
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x28], ecx
test ecx, ecx
jle 0x491ca3
xor ebx, ebx
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x34]
lea esi, [esi]
mov edx, dword [edi]
mov eax, ebx
shl eax, 4
add eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x70]
mov eax, dword [eax]
call fcn.00491894
mov dword [esi + ebx*4], eax
inc ebx
mov eax, dword [ebp]
cmp ebx, eax
jl 0x491c78
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov dword [eax + 0xc], esi
jmp 0x491ad7
mov ebx, dword [esp + 0x3c]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x491b4b
jmp 0x491c30