Function at 0x49154a
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 0x49156a
mov edi, dword [ecx + 4]
jmp 0x49156c
mov edi, esi
push 7
pop eax
mov dword [esp + 0x10], eax
cmp edi, eax
jle 0x491769
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.0042c2c7
test al, al
jne 0x4917d9
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.0042c2c7
test al, al
jne 0x4917d4
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.0042c2c7
test al, al
jne 0x4917cf
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.0042c2c7
test al, al
jne 0x4917ca
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.0042c2c7
test al, al
jne 0x4917c5
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.0042c2c7
test al, al
jne 0x4917c0
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.0042c2c7
test al, al
jne 0x4917bb
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.0042c2c7
test al, al
jne 0x4917b6
mov eax, dword [esp + 0x10]
add esi, 8
add eax, 8
add ebx, 0x20
mov dword [esp + 0x10], eax
cmp eax, edi
jl 0x49158e
mov ecx, dword [esp + 0x14]
cmp esi, edi
jge 0x4917aa
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.0042c2c7
test al, al
jne 0x4917d9
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, edi
jl 0x49177d
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + 7]
jmp 0x4917ad
lea eax, [esi + 6]
jmp 0x4917ad
lea eax, [esi + 5]
jmp 0x4917ad
lea eax, [esi + 4]
jmp 0x4917ad
lea eax, [esi + 3]
jmp 0x4917ad
lea eax, [esi + 2]
jmp 0x4917ad
lea eax, [esi + 1]
jmp 0x4917ad
mov eax, esi
jmp 0x4917ad