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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
or dword [ebx + 0x1c], 0xffffffff
push esi
mov esi, dword [ebp + 0x18]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0x9e
cmp dword [ebp + 0xc], edi
je 0x42b389
test byte [esi + 0x18], 6
je 0x42b34a
and dword [ebp + 0xc], edi
jmp 0x42b389
mov ecx, dword [eax + 0x14]
xor edi, edi
mov dword [ebp - 0x34], ecx
test ecx, ecx
jle 0x42b389
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx]
call fcn.0040b13b
test eax, eax
je 0x42b37c
add dword [ebp - 0xc], 0x10
inc edi
cmp edi, dword [ebp - 0x34]
jl 0x42b35f
jmp 0x42b389
mov eax, dword [ebp - 0x2c]
shl edi, 4
mov eax, dword [edi + eax + 0xc]
mov dword [ebp - 0x18], eax
mov esi, dword [esi + 4]
mov dword [ebp - 0x34], esi
test esi, esi
je 0x42b562
and dword [ebp - 0x2c], 0
mov eax, esi
cmp dword [eax], 0
lea ecx, [eax + 8]
mov dword [ebp - 0xc], ecx
jle 0x42b53a
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x24], edi
test eax, eax
je 0x42b42a
test dword [eax + 8], 0x800
je 0x42b42a
mov esi, dword [eax]
xor edi, edi
cmp dword [esi], edi
mov dword [ebp - 0x28], edi
jle 0x42b41d
lea eax, [esi + 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx]
call fcn.0042b282
pop ecx
pop ecx
test eax, eax
je 0x42b40a
mov eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x14], eax
mov word [ebx + 0x20], di
mov dword [ebp - 0x28], 1
add dword [ebp - 8], 0x18
inc edi
cmp edi, dword [esi]
jl 0x42b3d6
cmp dword [ebp - 0x28], 0
jne 0x42b525
cmp dword [ebp + 0x10], 0
je 0x42b525
mov edi, dword [ebp - 0x24]
cmp dword [ebp + 0xc], 0
je 0x42b43c
mov eax, dword [ebp - 0x18]
cmp dword [edi + 0x48], eax
jne 0x42b525
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42b47b
mov ecx, dword [ebp - 0xc]
mov esi, dword [ecx + 0xc]
mov ecx, esi
test esi, esi
jne 0x42b451
mov ecx, dword [edi]
call fcn.0040b13b
test eax, eax
jne 0x42b525
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc4], 2
jb 0x42b47b
test esi, esi
je 0x42b47b
lea ecx, [ebx + 0x2c]
push ecx
push 0
call fcn.00431ce7
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x10]
test eax, eax
jne 0x42b48b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
and dword [ebp - 8], 0
mov dword [ebp - 0x28], eax
movsx eax, word [edi + 0x2a]
test eax, eax
jle 0x42b525
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx]
call fcn.0040b13b
test eax, eax
jne 0x42b50b
cmp dword [ebp - 4], 1
jne 0x42b4f4
mov eax, dword [ebp - 0xc]
test byte [eax + 0x24], 4
jne 0x42b50b
mov eax, dword [eax + 0x34]
test eax, eax
je 0x42b4f4
mov ecx, dword [eax + 4]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jle 0x42b4f4
mov esi, dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi]
call fcn.0040b13b
test eax, eax
je 0x42b50b
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add esi, 8
cmp eax, dword [ebp - 0x3c]
jl 0x42b4d8
mov eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov dword [ebp - 0x14], eax
movsx eax, word [edi + 0x28]
cmp dword [ebp - 8], eax
jne 0x42b51d
or eax, 0xffffffff
jmp 0x42b521
movsx eax, word [edi + 0x2a]
inc dword [ebp - 8]
add dword [ebp - 0x28], 0x10
cmp dword [ebp - 8], eax
jl 0x42b4a1
jmp 0x42b525
movsx eax, word [ebp - 8]
mov word [ebx + 0x20], ax
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
add dword [ebp - 0xc], 0x48
cmp ecx, dword [eax]
jl 0x42b3ac
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42b562
mov ecx, dword [eax + 0x2c]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x2c], ecx
test byte [eax + 0x24], 8
je 0x42b55a
or dword [ebx + 4], 0x100000
mov eax, ecx
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x18], eax
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x42b710
cmp dword [ebp + 0x10], edi
je 0x42b710
cmp dword [ebp - 0x10], edi
jne 0x42b710
mov esi, dword [ebp + 8]
cmp dword [esi + 0x78], edi
je 0x42b5d0
movzx eax, byte [esi + 0x8c]
cmp eax, 0x75
je 0x42b5ad
mov eax, dword [ebp + 0x10]
mov ecx, 0x5dc1c4
call fcn.0040b13b
test eax, eax
jne 0x42b5ad
mov dword [ebx + 0x1c], 1
jmp 0x42b5cd
movzx eax, byte [esi + 0x8c]
cmp eax, 0x74
je 0x42b5d0
mov eax, dword [ebp + 0x10]
mov ecx, 0x5dc1c8
call fcn.0040b13b
test eax, eax
jne 0x42b5d0
and dword [ebx + 0x1c], eax
mov edi, dword [esi + 0x78]
mov ecx, dword [ebp + 0x18]
mov eax, 0x200
test word [ecx + 0x18], ax
je 0x42b605
mov eax, ecx
mov esi, dword [eax + 8]
test esi, esi
je 0x42b605
mov eax, dword [ebp + 0x10]
mov ecx, str.excluded
call fcn.0040b13b
test eax, eax
jne 0x42b605
mov eax, dword [esi + 0x14]
mov edi, dword [eax + 0x18]
mov dword [ebx + 0x1c], 2
test edi, edi
je 0x42b710
mov eax, dword [edi + 0x48]
and dword [ebp - 0xc], 0
mov esi, dword [edi + 4]
mov dword [ebp - 0x18], eax
movsx eax, word [edi + 0x2a]
mov dword [ebp - 0x10], 1
test eax, eax
jle 0x42b655
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi]
call fcn.0040b13b
test eax, eax
je 0x42b648
movsx eax, word [edi + 0x2a]
inc dword [ebp - 0xc]
add esi, 0x10
cmp dword [ebp - 0xc], eax
jl 0x42b629
jmp 0x42b655
movsx eax, word [edi + 0x28]
cmp dword [ebp - 0xc], eax
jne 0x42b655
or dword [ebp - 0xc], 0xffffffff
movsx eax, word [edi + 0x2a]
cmp dword [ebp - 0xc], eax
jl 0x42b675
mov esi, dword [ebp + 0x14]
call fcn.0042e493
test eax, eax
je 0x42b675
test byte [edi + 0x24], 0x40
jne 0x42b675
or ecx, 0xffffffff
jmp 0x42b678
mov ecx, dword [ebp - 0xc]
movsx eax, word [edi + 0x2a]
cmp ecx, eax
jge 0x42b710
mov eax, dword [ebx + 0x1c]
inc dword [ebp - 4]
cmp eax, 2
jne 0x42b6c2
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc4], 2
jb 0x42b6a4
mov dword [ebp - 0x1c], 0x9e
jmp 0x42b709
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
add eax, ecx
or dword [ebx + 4], 0x400000
mov dword [ebx + 0x1c], eax
mov dword [ebp - 0x1c], 0xa4
jmp 0x42b710
test ecx, ecx
jge 0x42b6cc
mov byte [ebx + 1], 0x44
jmp 0x42b702
test eax, eax
jne 0x42b6ea
cmp ecx, 0x20
jl 0x42b6da
or eax, 0xffffffff
jmp 0x42b6df
xor eax, eax
inc eax
shl eax, cl
mov edx, dword [ebp + 8]
or dword [edx + 0x84], eax
jmp 0x42b702
cmp ecx, 0x20
jl 0x42b6f4
or eax, 0xffffffff
jmp 0x42b6f9
xor eax, eax
inc eax
shl eax, cl
mov edx, dword [ebp + 8]
or dword [edx + 0x88], eax
mov dword [ebp - 0x1c], 0x4d
mov word [ebx + 0x20], cx
mov dword [ebx + 0x2c], edi
cmp dword [ebp - 4], 0
jne 0x42b755
cmp dword [ebp - 0x10], 1
jne 0x42b755
cmp dword [ebp - 0x14], 0
je 0x42b755
mov eax, dword [ebp + 0x18]
test byte [eax + 0x18], 0x20
jne 0x42b755
mov esi, dword [ebp + 0x14]
call fcn.0042e493
test eax, eax
je 0x42b755
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
test byte [eax + 0x24], 0x40
jne 0x42b755
or eax, 0xffffffff
mov dword [ebp - 4], 1
mov word [ebx + 0x20], ax
mov byte [ebx + 1], 0x44
mov eax, dword [ebp + 0x18]
test byte [eax + 0x18], 0x80
je 0x42b7a2
cmp dword [ebp - 4], 0
jne 0x42b86f
cmp dword [ebp + 0x10], 0
jne 0x42b7ac
mov edi, dword [eax + 8]
and dword [ebp - 8], 0
cmp dword [edi], 0
jle 0x42b7ac
lea esi, [edi + 8]
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x42b795
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x34]
call fcn.0040b13b
test eax, eax
je 0x42b7c7
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add esi, 0x18
cmp eax, dword [edi]
jl 0x42b77d
cmp dword [ebp - 4], 0
jne 0x42b86f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
inc dword [ebp - 0x30]
mov dword [ebp + 0x18], eax
test eax, eax
je 0x42b84a
mov esi, eax
jmp 0x42b389
mov eax, dword [ebp - 8]
imul eax, eax, 0x18
mov ecx, dword [eax + edi + 4]
mov eax, dword [ebp + 0x18]
test byte [eax + 0x18], 1
jne 0x42b7fa
test byte [ecx + 4], 2
je 0x42b7fa
push dword [ebp - 0x34]
mov edi, dword [ebp + 8]
push str.misuse_of_aliased_aggregate__s
call fcn.0040b095
pop ecx
pop ecx
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
call fcn.0042cdfb
cmp eax, 1
je 0x42b813
mov edi, dword [ebp + 8]
push str.row_value_misused
call fcn.0040b095
jmp 0x42b7f1
push dword [ebp - 0x30]
mov eax, dword [ebp - 8]
push 0x5db560
push dword [ebp + 8]
mov ecx, edi
call fcn.0042b1b0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax + 0xc4], 2
jb 0x42b94a
push ebx
push 0
call fcn.00431ce7
pop ecx
pop ecx
jmp 0x42b94a
cmp dword [ebp + 0x10], 0
jne 0x42b87b
test byte [ebx + 4], 0x40
je 0x42b862
and dword [ebx + 0x2c], 0
mov byte [ebx], 0x6a
xor eax, eax
inc eax
jmp 0x42b7f5
mov edi, ebx
call fcn.0042e1e0
test eax, eax
je 0x42b87b
jmp 0x42b85d
cmp dword [ebp - 4], 1
je 0x42b8dd
cmp dword [ebp - 4], 0
jne 0x42b882
mov eax, str.no_such_column
jmp 0x42b887
mov eax, str.ambiguous_column_name
cmp dword [ebp + 0xc], 0
push dword [ebp + 0x14]
mov edi, dword [ebp + 8]
je 0x42b8a9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push str._s:__s._s._s
call fcn.0040b095
add esp, 0x14
jmp 0x42b8d0
cmp dword [ebp + 0x10], 0
je 0x42b8c2
push dword [ebp + 0x10]
push eax
push str._s:__s._s
call fcn.0040b095
add esp, 0x10
jmp 0x42b8d0
push eax
push str._s:__s
call fcn.0040b095
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0x20]
inc dword [eax + 0x14]
movzx eax, word [ebx + 0x20]
test ax, ax
jl 0x42b908
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x42b908
movsx ecx, ax
cmp ecx, 0x40
jl 0x42b8f8
push 0x3f
pop ecx
xor eax, eax
inc eax
xor edx, edx
call fcn.0055e240
or dword [esi + 0x38], eax
or dword [esi + 0x3c], edx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x42b91a
push eax
push dword [ebp - 0x38]
call fcn.0042d682
pop ecx
pop ecx
mov eax, dword [ebx + 0x10]
and dword [ebx + 0xc], 0
test eax, eax
je 0x42b930
push eax
push dword [ebp - 0x38]
call fcn.0042d682
pop ecx
pop ecx
and dword [ebx + 0x10], 0
mov al, byte [ebp - 0x1c]
or dword [ebx + 4], 0x800000
cmp dword [ebp - 4], 1
mov byte [ebx], al
jne 0x42b7f2
test dword [ebx + 4], 0x400000
jne 0x42b967
mov eax, dword [ebp + 0x18]
mov edi, dword [eax + 4]
mov edx, dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call fcn.0043441d
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
jmp 0x42b975
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
inc dword [eax + 0x10]
cmp eax, dword [ebp + 0x18]
jne 0x42b96c
jmp 0x42b85d