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

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov esi, eax
mov edi, dword [esi]
mov ebx, dword [esi + 8]
push ebp
push edi
mov dword [esp + 0x18], edi
call fcn.0045c370
push str._rowid_
push 0x1b
push edi
mov dword [esp + 0x30], eax
call fcn.00478280
push eax
push 0
push esi
call fcn.00479d00
mov edi, eax
mov eax, dword [esp + 0x68]
add esp, 0x20
test eax, eax
je 0x49446e
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0047a690
push eax
push edi
push esi
call fcn.00479d00
add esp, 0x18
mov edi, eax
xor eax, eax
cmp word [ebp + 0x26], ax
mov dword [esp + 0x40], eax
jle 0x4944ea
mov dword [esp + 0x14], eax
mov edi, edi
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + edx*4]
test eax, eax
jl 0x4944ab
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push 0
push eax
push ecx
call fcn.0047a690
jmp 0x4944c2
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax]
mov edx, dword [esp + 0x10]
push ecx
push 0x1b
push edx
call fcn.00478280
add esp, 0xc
push eax
push edi
push esi
call fcn.00479d00
movsx ecx, word [ebp + 0x26]
add dword [esp + 0x20], 0x18
mov edi, eax
mov eax, dword [esp + 0x4c]
add eax, 1
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x494480
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
push edi
push esi
call fcn.00462510
mov edi, dword [esi + 0x48]
mov dword [esp + 0x40], eax
xor eax, eax
cmp dword [esp + 0x70], eax
lea ecx, [edi + 1]
setne al
mov dword [esi + 0x48], ecx
movsx edx, word [ebp + 0x26]
mov dword [esp + 0x3c], eax
lea eax, [edx + eax + 1]
push eax
push edi
push 0x35
push ebx
call fcn.00457ef0
push 8
push ebx
call fcn.00458230
add esp, 0x40
push edi
lea ecx, [esp + 0x28]
push 0xa
push ecx
call fcn.004624f0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push eax
push esi
call fcn.00467550
add dword [esi + 0x4c], 1
movsx ecx, word [ebp + 0x26]
mov eax, dword [esi + 0x4c]
push 0
push edi
lea edx, [ecx + eax + 1]
push 0x67
push ebx
mov dword [esp + 0x70], eax
mov dword [esi + 0x4c], edx
call fcn.00457ef0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
push eax
push 0
push edi
push 0x2b
push ebx
call fcn.00457de0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x50]
add ecx, 1
push ecx
push edx
push edi
push 0x2b
push ebx
call fcn.00457de0
xor eax, eax
add esp, 0x50
cmp word [ebp + 0x26], ax
mov dword [esp + 0x40], eax
jle 0x4945f5
jmp 0x4945c4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
lea edx, [ecx + eax + 2]
mov ecx, dword [esp + 0x14]
push edx
lea edx, [ecx + eax + 1]
push edx
push edi
push 0x2b
push ebx
call fcn.00457de0
mov eax, dword [esp + 0x54]
movsx ecx, word [ebp + 0x26]
add eax, 1
add esp, 0x14
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x4945c0
push ebp
push esi
call fcn.0045d2f0
mov edx, dword [esp + 0x24]
movsx ecx, word [ebp + 0x26]
mov eax, dword [esp + 0x50]
push 0xfffffffffffffff6
push edx
push eax
add ecx, 2
push ecx
push 0
push 0xf
push ebx
call fcn.0045a660
mov eax, dword [esp + 0x78]
add esp, 0x24
cmp eax, 0xa
jne 0x49462b
mov eax, 2
push eax
push ebx
call fcn.00458230
push esi
call fcn.0045f6a0
mov esi, dword [esp + 0x2c]
lea edx, [esi + 1]
push edx
push edi
push 9
push ebx
call fcn.00457ef0
push esi
push ebx
call fcn.00458250
push 0
push edi
push 0x38
push ebx
call fcn.00457ef0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.00462600
add esp, 0x3c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret