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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov ecx, dword [ecx]
push ebx
push esi
xor esi, esi
mov dword [esp + 0x10], ecx
push edi
test ecx, ecx
je 0x491304
mov edi, dword [ecx + 4]
jmp 0x491306
mov edi, esi
push 7
pop eax
mov dword [esp + 0x10], eax
cmp edi, eax
jle 0x491503
mov edx, dword [ebp + 8]
lea ebx, [ecx + 0x14]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov ecx, dword [ebx - 8]
lea eax, [ecx + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
call fcn.0042c08a
test al, al
jne 0x491573
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx - 4]
mov dword [esp + 0x3c], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push eax
call fcn.0042c08a
test al, al
jne 0x49156e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x4c], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
push eax
call fcn.0042c08a
test al, al
jne 0x491569
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x5c], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push eax
call fcn.0042c08a
test al, al
jne 0x491564
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x6c], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x68]
push eax
call fcn.0042c08a
test al, al
jne 0x49155f
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x7c], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x78]
push eax
call fcn.0042c08a
test al, al
jne 0x49155a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x8c], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x90]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x88]
push eax
call fcn.0042c08a
test al, al
jne 0x491555
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
call fcn.0042c08a
test al, al
jne 0x491550
mov eax, dword [esp + 0x10]
add esi, 8
add eax, 8
add ebx, 0x20
mov dword [esp + 0x10], eax
cmp eax, edi
jl 0x491328
mov ecx, dword [esp + 0x14]
cmp esi, edi
jge 0x491544
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + esi*4 + 0xc]
lea eax, [ecx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0042c08a
test al, al
jne 0x491573
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, edi
jl 0x491517
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + 7]
jmp 0x491547
lea eax, [esi + 6]
jmp 0x491547
lea eax, [esi + 5]
jmp 0x491547
lea eax, [esi + 4]
jmp 0x491547
lea eax, [esi + 3]
jmp 0x491547
lea eax, [esi + 2]
jmp 0x491547
lea eax, [esi + 1]
jmp 0x491547
mov eax, esi
jmp 0x491547