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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x60]
push ebx
push ebp
xor ebp, ebp
add eax, 0x2c
mov dword [eax - 0x10], 0xffffffff
push esi
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], 0x9e
mov dword [esp + 0x28], eax
mov dword [eax], ebp
cmp dword [esp + 0x64], ebp
je 0x4a5010
mov eax, edx
test byte [eax + 0x18], 6
je 0x4a4fcf
mov dword [esp + 0x64], ebp
jmp 0x4a5010
mov ebx, dword [ecx + 0x14]
xor esi, esi
cmp ebx, ebp
jle 0x4a5010
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x4c], ecx
mov edi, ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [edi]
call fcn.00478290
test eax, eax
je 0x4a4ffa
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4a4fe1
jmp 0x4a5010
mov ecx, dword [esp + 0x4c]
shl esi, 4
mov edx, dword [esi + ecx + 0xc]
mov dword [esp + 0x30], edx
lea esp, [esp]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
cmp eax, ebp
je 0x4a533f
cmp dword [eax], 0
lea ecx, [eax + 8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], ecx
jle 0x4a530e
jmp 0x4a5040
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], edx
test eax, eax
je 0x4a50cd
test dword [eax + 8], 0x800
je 0x4a50cd
mov eax, dword [eax]
xor edi, edi
xor esi, esi
cmp dword [eax], edi
mov dword [esp + 0x40], eax
jle 0x4a50c2
mov ebp, eax
add ebp, 0xc
mov edi, edi
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x64]
push eax
mov eax, dword [ebp]
push ecx
call fcn.004a4ed0
add esp, 8
test eax, eax
je 0x4a50ae
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
mov esi, 1
add dword [esp + 0x14], esi
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], edx
mov word [eax + 0x20], di
mov ecx, dword [esp + 0x40]
inc edi
add ebp, 0x18
cmp edi, dword [ecx]
jl 0x4a5070
test esi, esi
jne 0x4a52f4
cmp dword [esp + 0x68], 0
je 0x4a52f4
cmp dword [esp + 0x64], 0
je 0x4a50e5
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x48], edx
jne 0x4a52f4
cmp dword [esp + 0x68], 0
je 0x4a5193
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0xc]
test esi, esi
je 0x4a50ff
mov edi, esi
jmp 0x4a5105
mov edx, dword [esp + 0x18]
mov edi, dword [edx]
mov dl, byte [edi]
mov ebx, dword [esp + 0x68]
movzx ebx, byte [ebx]
movzx ebx, byte [ebx + 0x50a5e8]
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, ebx
mov ecx, edi
jne 0x4a52f4
mov ebx, dword [esp + 0x68]
sub ebx, edi
nop
test dl, dl
je 0x4a5157
movzx eax, byte [ecx + ebx + 1]
movzx edi, byte [eax + 0x50a5e8]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, edi
je 0x4a5130
jmp 0x4a52f4
test eax, eax
jne 0x4a52f4
mov eax, dword [esp + 0x60]
cmp byte [eax + 0xc4], 2
jb 0x4a5193
test esi, esi
je 0x4a5193
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4a5193
mov ecx, dword [esp + 0x28]
mov edi, edi
cmp dword [eax], ecx
je 0x4a518d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4a5180
jmp 0x4a5193
mov dword [eax], 0
mov eax, dword [esp + 0x20]
mov ecx, eax
inc eax
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x4a51aa
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x18]
movsx ebx, word [eax + 0x2a]
mov ecx, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], ebx
test ebx, ebx
jle 0x4a52f4
mov edx, dword [esp + 0x6c]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x50a5e8]
mov dword [esp + 0x34], ecx
lea ecx, [ecx]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, dword [esp + 0x34]
jne 0x4a52d5
mov edi, dword [esp + 0x6c]
sub edi, ecx
test dl, dl
je 0x4a5229
movzx eax, byte [ecx + edi + 1]
movzx ebp, byte [eax + 0x50a5e8]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, ebp
je 0x4a5202
jmp 0x4a52d5
test eax, eax
jne 0x4a52d5
cmp dword [esp + 0x14], 1
jne 0x4a52b0
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 4
jne 0x4a52d5
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4a52b0
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x54], ecx
test ecx, ecx
jle 0x4a52b0
mov esi, dword [eax]
lea esp, [esp]
mov ecx, dword [esi]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, dword [esp + 0x34]
jne 0x4a52a2
mov edi, dword [esp + 0x6c]
sub edi, ecx
test dl, dl
je 0x4a529e
movzx eax, byte [edi + ecx + 1]
movzx ebp, byte [eax + 0x50a5e8]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, ebp
je 0x4a527a
jmp 0x4a52a2
test eax, eax
je 0x4a52cd
inc ebx
add esi, 8
cmp ebx, dword [esp + 0x54]
jl 0x4a5260
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
movsx eax, word [edx + 0x28]
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
cmp esi, eax
jne 0x4a52e9
or eax, 0xffffffff
jmp 0x4a52ec
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x58]
add dword [esp + 0x3c], 0x10
inc esi
cmp esi, ebx
mov dword [esp + 0x40], esi
jl 0x4a51e0
jmp 0x4a52f4
movsx eax, si
mov ecx, dword [esp + 0x74]
mov word [ecx + 0x20], ax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
add dword [esp + 0x1c], 0x48
inc eax
cmp eax, dword [edx]
mov dword [esp + 0x48], eax
jl 0x4a5040
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a533f
mov edx, dword [eax + 0x2c]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x1c], edx
mov esi, dword [eax + 0x10]
mov edx, dword [esp + 0x28]
mov dword [edx], esi
test byte [eax + 0x24], 8
je 0x4a5336
or dword [ecx + 4], 0x100000
mov eax, esi
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x64], 0
jne 0x4a5566
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x4a5566
cmp dword [esp + 0x20], 0
jne 0x4a5566
mov edi, dword [esp + 0x60]
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp dword [edi + 0x78], ebp
je 0x4a53c0
movzx esi, byte [edi + 0x8c]
cmp esi, 0x75
je 0x4a5399
mov eax, ebx
mov ecx, 0x513cf0
call fcn.00478290
test eax, eax
jne 0x4a5399
mov edx, dword [esp + 0x74]
mov dword [edx + 0x1c], 1
jmp 0x4a53b9
cmp esi, 0x74
je 0x4a53c0
mov eax, ebx
mov ecx, 0x516224
call fcn.00478290
test eax, eax
jne 0x4a53c0
mov eax, dword [esp + 0x74]
mov dword [eax + 0x1c], 0
mov ebp, dword [edi + 0x78]
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x70]
mov ecx, 0x200
test word [eax + 0x18], cx
je 0x4a53fb
mov esi, dword [eax + 8]
test esi, esi
je 0x4a53fb
mov eax, ebx
mov ecx, str.excluded
call fcn.00478290
test eax, eax
jne 0x4a53fb
mov edx, dword [esi + 0x14]
mov ebp, dword [edx + 0x18]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], ebp
mov dword [eax + 0x1c], 2
test ebp, ebp
je 0x4a5566
movsx eax, word [ebp + 0x2a]
mov ecx, dword [ebp + 0x48]
mov ebx, dword [ebp + 4]
xor edi, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x40], eax
test eax, eax
jle 0x4a5493
mov edx, dword [esp + 0x6c]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x50a5e8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, dword [esp + 0x34]
jne 0x4a547c
mov esi, dword [esp + 0x6c]
sub esi, ecx
nop
test dl, dl
je 0x4a5478
movzx eax, byte [ecx + esi + 1]
movzx ebp, byte [eax + 0x50a5e8]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, ebp
mov ebp, dword [esp + 0x18]
je 0x4a5450
jmp 0x4a547c
test eax, eax
je 0x4a5488
inc edi
add ebx, 0x10
cmp edi, dword [esp + 0x40]
jl 0x4a5435
jmp 0x4a5493
movsx ecx, word [ebp + 0x28]
cmp edi, ecx
jne 0x4a5493
or edi, 0xffffffff
cmp edi, dword [esp + 0x40]
jl 0x4a54b9
mov esi, dword [esp + 0x6c]
call fcn.004a93e0
test eax, eax
je 0x4a54af
test byte [ebp + 0x24], 0x40
jne 0x4a54af
or edi, 0xffffffff
cmp edi, dword [esp + 0x40]
jge 0x4a5566
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0x1c]
inc dword [esp + 0x14]
cmp eax, 2
jne 0x4a5500
mov eax, dword [esp + 0x60]
cmp byte [eax + 0xc4], 2
jb 0x4a54e0
mov dword [esp + 0x38], 0x9e
jmp 0x4a555c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x18]
add eax, edi
or dword [edx + 4], 0x400000
mov dword [edx + 0x1c], eax
mov dword [esp + 0x38], 0xa4
jmp 0x4a5566
test edi, edi
jge 0x4a550a
mov byte [edx + 1], 0x44
jmp 0x4a5554
test eax, eax
jne 0x4a5537
cmp edi, 0x20
jl 0x4a5522
mov ecx, dword [esp + 0x60]
or eax, 0xffffffff
or dword [ecx + 0x84], eax
jmp 0x4a5554
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x60]
or dword [ecx + 0x84], eax
jmp 0x4a5554
cmp edi, 0x20
jl 0x4a5541
or eax, 0xffffffff
jmp 0x4a554a
mov eax, 1
mov ecx, edi
shl eax, cl
mov ecx, dword [esp + 0x60]
or dword [ecx + 0x88], eax
mov dword [esp + 0x38], 0x4d
mov ecx, dword [esp + 0x28]
mov word [edx + 0x20], di
mov dword [ecx], ebp
cmp dword [esp + 0x14], 0
jne 0x4a55b5
cmp dword [esp + 0x20], 1
jne 0x4a55b5
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4a55b5
mov edx, dword [esp + 0x70]
test byte [edx + 0x18], 0x20
jne 0x4a55b5
mov esi, dword [esp + 0x6c]
call fcn.004a93e0
test eax, eax
je 0x4a55b5
mov eax, dword [edi + 0x10]
test byte [eax + 0x24], 0x40
jne 0x4a55b5
mov ebx, dword [esp + 0x74]
or ecx, 0xffffffff
mov dword [esp + 0x14], 1
mov word [ebx + 0x20], cx
mov byte [ebx + 1], 0x44
jmp 0x4a55b9
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
test byte [edx + 0x18], 0x80
mov eax, dword [esp + 0x14]
je 0x4a5663
test eax, eax
jne 0x4a585f
cmp dword [esp + 0x68], eax
jne 0x4a566b
mov eax, dword [edx + 8]
mov ecx, dword [eax]
xor ebp, ebp
mov dword [esp + 0x58], ecx
test ecx, ecx
jle 0x4a566b
add eax, 8
mov dword [esp + 0x4c], eax
mov esi, dword [eax]
test esi, esi
je 0x4a5647
mov al, byte [esi]
mov ecx, dword [esp + 0x6c]
movzx ecx, byte [ecx]
movzx ecx, byte [ecx + 0x50a5e8]
movzx edx, al
movzx edx, byte [edx + 0x50a5e8]
sub edx, ecx
mov edi, esi
jne 0x4a5647
mov ecx, dword [esp + 0x6c]
sub ecx, esi
test al, al
je 0x4a5643
movzx edx, byte [edi + ecx + 1]
movzx ebx, byte [edx + 0x50a5e8]
mov al, byte [edi + 1]
inc edi
movzx edx, al
movzx edx, byte [edx + 0x50a5e8]
sub edx, ebx
je 0x4a561f
jmp 0x4a5647
test edx, edx
je 0x4a5685
mov eax, dword [esp + 0x4c]
inc ebp
add eax, 0x18
cmp ebp, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
jl 0x4a55f3
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x4a566b
test eax, eax
jne 0x4a585f
mov eax, dword [edx + 0xc]
inc dword [esp + 0x44]
mov dword [esp + 0x70], eax
test eax, eax
je 0x4a5791
xor ebp, ebp
jmp 0x4a5010
mov ecx, dword [esp + 0x70]
test byte [ecx + 0x18], 1
mov edx, dword [ecx + 8]
lea eax, [ebp + ebp*2]
mov eax, dword [edx + eax*8 + 4]
jne 0x4a56bf
test byte [eax + 4], 2
je 0x4a56bf
push esi
mov esi, dword [esp + 0x64]
push str.misuse_of_aliased_aggregate__s
call fcn.00478120
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov cl, byte [eax]
cmp cl, 0xa4
jne 0x4a56c9
mov cl, byte [eax + 0x26]
cmp cl, 0xa5
jne 0x4a56d3
mov ecx, dword [eax + 0x14]
jmp 0x4a56dd
cmp cl, 0x7f
jne 0x4a5702
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx]
cmp eax, 1
je 0x4a5702
mov esi, dword [esp + 0x60]
push str.row_value_misused
call fcn.00478120
add esp, 4
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x60]
push eax
push 0x511b20
push ebx
push esi
mov eax, ebp
mov ecx, edx
call fcn.004a4d90
add esp, 0x10
cmp byte [esi + 0xc4], 2
jb 0x4a5740
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x4a5740
cmp dword [eax], ebx
je 0x4a5789
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4a5735
mov esi, dword [esp + 0x2c]
test dword [ebx + 4], 0x400000
mov edi, dword [esp + 0x70]
jne 0x4a5767
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
push eax
push ebx
push ecx
call fcn.004b23b0
add esp, 0xc
mov eax, 1
add dword [esi + 0x10], eax
cmp esi, edi
je 0x4a56b7
mov esi, dword [esi + 0xc]
add dword [esi + 0x10], eax
cmp esi, edi
jne 0x4a5777
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov dword [eax], 0
jmp 0x4a5740
cmp dword [esp + 0x68], 0
jne 0x4a586c
test byte [ebx + 4], 0x40
je 0x4a57bc
mov ecx, dword [esp + 0x28]
mov byte [ebx], 0x6a
mov dword [ecx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edi, dword [ebx + 8]
mov ecx, edi
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, 0x74
jne 0x4a5808
mov esi, str.true
sub esi, edi
lea esp, [esp]
test dl, dl
je 0x4a5804
movzx eax, byte [esi + ecx + 1]
movzx ebp, byte [eax + 0x50a5e8]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, ebp
je 0x4a57e0
jmp 0x4a5808
test eax, eax
je 0x4a584f
mov ecx, edi
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, 0x66
jne 0x4a586c
mov esi, str.false
sub esi, edi
test dl, dl
je 0x4a584b
movzx eax, byte [esi + ecx + 1]
movzx edi, byte [eax + 0x50a5e8]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x50a5e8]
sub eax, edi
je 0x4a5822
mov eax, str.no_such_column
jmp 0x4a5878
test eax, eax
jne 0x4a586c
pop edi
pop esi
pop ebp
mov byte [ebx], 0x9b
mov eax, 1
pop ebx
add esp, 0x4c
ret
cmp eax, 1
je 0x4a58fb
test eax, eax
jne 0x4a5873
mov eax, str.no_such_column
jmp 0x4a5878
mov eax, str.ambiguous_column_name
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
test ecx, ecx
je 0x4a58ac
mov edx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push edx
push ecx
push eax
push str._s:__s._s._s
call fcn.00478120
mov edx, esi
mov esi, dword [esp + 0x40]
add esp, 0x14
mov byte [edx + 0x11], 1
inc dword [esi + 0x14]
jmp 0x4a58ff
cmp dword [esp + 0x68], 0
mov ecx, dword [esp + 0x6c]
push ecx
je 0x4a58dc
mov edx, dword [esp + 0x6c]
push edx
push eax
push str._s:__s._s
call fcn.00478120
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov byte [edx + 0x11], 1
inc dword [esi + 0x14]
jmp 0x4a58ff
push eax
push str._s:__s
call fcn.00478120
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x38]
add esp, 0xc
mov byte [edx + 0x11], 1
inc dword [esi + 0x14]
jmp 0x4a58ff
mov esi, dword [esp + 0x2c]
movzx eax, word [ebx + 0x20]
xor ebp, ebp
cmp ax, bp
jl 0x4a592f
mov edi, dword [esp + 0x24]
cmp edi, ebp
je 0x4a592f
movsx ecx, ax
cmp ecx, 0x40
jl 0x4a591d
lea ecx, [ebp + 0x3f]
mov eax, 1
xor edx, edx
call fcn.004f07e0
or dword [edi + 0x38], eax
or dword [edi + 0x3c], edx
mov eax, dword [ebx + 0xc]
cmp eax, ebp
je 0x4a5944
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.004a7fb0
add esp, 8
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], ebp
cmp eax, ebp
je 0x4a595c
mov ecx, dword [esp + 0x50]
push eax
push ecx
call fcn.004a7fb0
add esp, 8
mov dl, byte [esp + 0x38]
or dword [ebx + 4], 0x800000
cmp dword [esp + 0x14], 1
mov dword [ebx + 0x10], ebp
mov byte [ebx], dl
jne 0x4a56b2
jmp 0x4a5744