Function at 0x4dd840
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 0x4dd8e0
mov eax, edx
test byte [eax + 0x18], 6
je 0x4dd89f
mov dword [esp + 0x64], ebp
jmp 0x4dd8e0
mov ebx, dword [ecx + 0x14]
xor esi, esi
cmp ebx, ebp
jle 0x4dd8e0
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x4c], ecx
mov edi, ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [edi]
call fcn.004ae7e0
test eax, eax
je 0x4dd8ca
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4dd8b1
jmp 0x4dd8e0
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 0x4ddc0f
cmp dword [eax], 0
lea ecx, [eax + 8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], ecx
jle 0x4ddbde
jmp 0x4dd910
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], edx
test eax, eax
je 0x4dd99d
test dword [eax + 8], 0x800
je 0x4dd99d
mov eax, dword [eax]
xor edi, edi
xor esi, esi
cmp dword [eax], edi
mov dword [esp + 0x40], eax
jle 0x4dd992
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.004dd7a0
add esp, 8
test eax, eax
je 0x4dd97e
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 0x4dd940
test esi, esi
jne 0x4ddbc4
cmp dword [esp + 0x68], 0
je 0x4ddbc4
cmp dword [esp + 0x64], 0
je 0x4dd9b5
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x48], edx
jne 0x4ddbc4
cmp dword [esp + 0x68], 0
je 0x4dda63
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0xc]
test esi, esi
je 0x4dd9cf
mov edi, esi
jmp 0x4dd9d5
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 + 0x5e3e00]
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, ebx
mov ecx, edi
jne 0x4ddbc4
mov ebx, dword [esp + 0x68]
sub ebx, edi
nop
test dl, dl
je 0x4dda27
movzx eax, byte [ecx + ebx + 1]
movzx edi, byte [eax + 0x5e3e00]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, edi
je 0x4dda00
jmp 0x4ddbc4
test eax, eax
jne 0x4ddbc4
mov eax, dword [esp + 0x60]
cmp byte [eax + 0xc4], 2
jb 0x4dda63
test esi, esi
je 0x4dda63
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4dda63
mov ecx, dword [esp + 0x28]
mov edi, edi
cmp dword [eax], ecx
je 0x4dda5d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4dda50
jmp 0x4dda63
mov dword [eax], 0
mov eax, dword [esp + 0x20]
mov ecx, eax
inc eax
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x4dda7a
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 0x4ddbc4
mov edx, dword [esp + 0x6c]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5e3e00]
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 + 0x5e3e00]
sub eax, dword [esp + 0x34]
jne 0x4ddba5
mov edi, dword [esp + 0x6c]
sub edi, ecx
test dl, dl
je 0x4ddaf9
movzx eax, byte [ecx + edi + 1]
movzx ebp, byte [eax + 0x5e3e00]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, ebp
je 0x4ddad2
jmp 0x4ddba5
test eax, eax
jne 0x4ddba5
cmp dword [esp + 0x14], 1
jne 0x4ddb80
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 4
jne 0x4ddba5
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4ddb80
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x54], ecx
test ecx, ecx
jle 0x4ddb80
mov esi, dword [eax]
lea esp, [esp]
mov ecx, dword [esi]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, dword [esp + 0x34]
jne 0x4ddb72
mov edi, dword [esp + 0x6c]
sub edi, ecx
test dl, dl
je 0x4ddb6e
movzx eax, byte [edi + ecx + 1]
movzx ebp, byte [eax + 0x5e3e00]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, ebp
je 0x4ddb4a
jmp 0x4ddb72
test eax, eax
je 0x4ddb9d
inc ebx
add esi, 8
cmp ebx, dword [esp + 0x54]
jl 0x4ddb30
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 0x4ddbb9
or eax, 0xffffffff
jmp 0x4ddbbc
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 0x4ddab0
jmp 0x4ddbc4
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 0x4dd910
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4ddc0f
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 0x4ddc06
or dword [ecx + 4], 0x100000
mov eax, esi
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x64], 0
jne 0x4dde36
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x4dde36
cmp dword [esp + 0x20], 0
jne 0x4dde36
mov edi, dword [esp + 0x60]
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp dword [edi + 0x78], ebp
je 0x4ddc90
movzx esi, byte [edi + 0x8c]
cmp esi, 0x75
je 0x4ddc69
mov eax, ebx
mov ecx, 0x5fbdc0
call fcn.004ae7e0
test eax, eax
jne 0x4ddc69
mov edx, dword [esp + 0x74]
mov dword [edx + 0x1c], 1
jmp 0x4ddc89
cmp esi, 0x74
je 0x4ddc90
mov eax, ebx
mov ecx, 0x5ff63c
call fcn.004ae7e0
test eax, eax
jne 0x4ddc90
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 0x4ddccb
mov esi, dword [eax + 8]
test esi, esi
je 0x4ddccb
mov eax, ebx
mov ecx, str.excluded
call fcn.004ae7e0
test eax, eax
jne 0x4ddccb
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 0x4dde36
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 0x4ddd63
mov edx, dword [esp + 0x6c]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5e3e00]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, dword [esp + 0x34]
jne 0x4ddd4c
mov esi, dword [esp + 0x6c]
sub esi, ecx
nop
test dl, dl
je 0x4ddd48
movzx eax, byte [ecx + esi + 1]
movzx ebp, byte [eax + 0x5e3e00]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, ebp
mov ebp, dword [esp + 0x18]
je 0x4ddd20
jmp 0x4ddd4c
test eax, eax
je 0x4ddd58
inc edi
add ebx, 0x10
cmp edi, dword [esp + 0x40]
jl 0x4ddd05
jmp 0x4ddd63
movsx ecx, word [ebp + 0x28]
cmp edi, ecx
jne 0x4ddd63
or edi, 0xffffffff
cmp edi, dword [esp + 0x40]
jl 0x4ddd89
mov esi, dword [esp + 0x6c]
call fcn.004e1fa0
test eax, eax
je 0x4ddd7f
test byte [ebp + 0x24], 0x40
jne 0x4ddd7f
or edi, 0xffffffff
cmp edi, dword [esp + 0x40]
jge 0x4dde36
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0x1c]
inc dword [esp + 0x14]
cmp eax, 2
jne 0x4dddd0
mov eax, dword [esp + 0x60]
cmp byte [eax + 0xc4], 2
jb 0x4dddb0
mov dword [esp + 0x38], 0x9e
jmp 0x4dde2c
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 0x4dde36
test edi, edi
jge 0x4dddda
mov byte [edx + 1], 0x44
jmp 0x4dde24
test eax, eax
jne 0x4dde07
cmp edi, 0x20
jl 0x4dddf2
mov ecx, dword [esp + 0x60]
or eax, 0xffffffff
or dword [ecx + 0x84], eax
jmp 0x4dde24
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x60]
or dword [ecx + 0x84], eax
jmp 0x4dde24
cmp edi, 0x20
jl 0x4dde11
or eax, 0xffffffff
jmp 0x4dde1a
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 0x4dde85
cmp dword [esp + 0x20], 1
jne 0x4dde85
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4dde85
mov edx, dword [esp + 0x70]
test byte [edx + 0x18], 0x20
jne 0x4dde85
mov esi, dword [esp + 0x6c]
call fcn.004e1fa0
test eax, eax
je 0x4dde85
mov eax, dword [edi + 0x10]
test byte [eax + 0x24], 0x40
jne 0x4dde85
mov ebx, dword [esp + 0x74]
or ecx, 0xffffffff
mov dword [esp + 0x14], 1
mov word [ebx + 0x20], cx
mov byte [ebx + 1], 0x44
jmp 0x4dde89
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
test byte [edx + 0x18], 0x80
mov eax, dword [esp + 0x14]
je 0x4ddf33
test eax, eax
jne 0x4de12f
cmp dword [esp + 0x68], eax
jne 0x4ddf3b
mov eax, dword [edx + 8]
mov ecx, dword [eax]
xor ebp, ebp
mov dword [esp + 0x58], ecx
test ecx, ecx
jle 0x4ddf3b
add eax, 8
mov dword [esp + 0x4c], eax
mov esi, dword [eax]
test esi, esi
je 0x4ddf17
mov al, byte [esi]
mov ecx, dword [esp + 0x6c]
movzx ecx, byte [ecx]
movzx ecx, byte [ecx + 0x5e3e00]
movzx edx, al
movzx edx, byte [edx + 0x5e3e00]
sub edx, ecx
mov edi, esi
jne 0x4ddf17
mov ecx, dword [esp + 0x6c]
sub ecx, esi
test al, al
je 0x4ddf13
movzx edx, byte [edi + ecx + 1]
movzx ebx, byte [edx + 0x5e3e00]
mov al, byte [edi + 1]
inc edi
movzx edx, al
movzx edx, byte [edx + 0x5e3e00]
sub edx, ebx
je 0x4ddeef
jmp 0x4ddf17
test edx, edx
je 0x4ddf55
mov eax, dword [esp + 0x4c]
inc ebp
add eax, 0x18
cmp ebp, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
jl 0x4ddec3
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x4ddf3b
test eax, eax
jne 0x4de12f
mov eax, dword [edx + 0xc]
inc dword [esp + 0x44]
mov dword [esp + 0x70], eax
test eax, eax
je 0x4de061
xor ebp, ebp
jmp 0x4dd8e0
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 0x4ddf8f
test byte [eax + 4], 2
je 0x4ddf8f
push esi
mov esi, dword [esp + 0x64]
push str.misuse_of_aliased_aggregate__s
call fcn.004ae670
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 0x4ddf99
mov cl, byte [eax + 0x26]
cmp cl, 0xa5
jne 0x4ddfa3
mov ecx, dword [eax + 0x14]
jmp 0x4ddfad
cmp cl, 0x7f
jne 0x4ddfd2
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx]
cmp eax, 1
je 0x4ddfd2
mov esi, dword [esp + 0x60]
push str.row_value_misused
call fcn.004ae670
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 0x5e1790
push ebx
push esi
mov eax, ebp
mov ecx, edx
call fcn.004dd620
add esp, 0x10
cmp byte [esi + 0xc4], 2
jb 0x4de010
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x4de010
cmp dword [eax], ebx
je 0x4de059
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4de005
mov esi, dword [esp + 0x2c]
test dword [ebx + 4], 0x400000
mov edi, dword [esp + 0x70]
jne 0x4de037
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
push eax
push ebx
push ecx
call fcn.004eb2d0
add esp, 0xc
mov eax, 1
add dword [esi + 0x10], eax
cmp esi, edi
je 0x4ddf87
mov esi, dword [esi + 0xc]
add dword [esi + 0x10], eax
cmp esi, edi
jne 0x4de047
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov dword [eax], 0
jmp 0x4de010
cmp dword [esp + 0x68], 0
jne 0x4de13c
test byte [ebx + 4], 0x40
je 0x4de08c
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 + 0x5e3e00]
sub eax, 0x74
jne 0x4de0d8
mov esi, str.true
sub esi, edi
lea esp, [esp]
test dl, dl
je 0x4de0d4
movzx eax, byte [esi + ecx + 1]
movzx ebp, byte [eax + 0x5e3e00]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, ebp
je 0x4de0b0
jmp 0x4de0d8
test eax, eax
je 0x4de11f
mov ecx, edi
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, 0x66
jne 0x4de13c
mov esi, str.false
sub esi, edi
test dl, dl
je 0x4de11b
movzx eax, byte [esi + ecx + 1]
movzx edi, byte [eax + 0x5e3e00]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x5e3e00]
sub eax, edi
je 0x4de0f2
mov eax, str.no_such_column
jmp 0x4de148
test eax, eax
jne 0x4de13c
pop edi
pop esi
pop ebp
mov byte [ebx], 0x9b
mov eax, 1
pop ebx
add esp, 0x4c
ret
cmp eax, 1
je 0x4de1cb
test eax, eax
jne 0x4de143
mov eax, str.no_such_column
jmp 0x4de148
mov eax, str.ambiguous_column_name
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
test ecx, ecx
je 0x4de17c
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.004ae670
mov edx, esi
mov esi, dword [esp + 0x40]
add esp, 0x14
mov byte [edx + 0x11], 1
inc dword [esi + 0x14]
jmp 0x4de1cf
cmp dword [esp + 0x68], 0
mov ecx, dword [esp + 0x6c]
push ecx
je 0x4de1ac
mov edx, dword [esp + 0x6c]
push edx
push eax
push str._s:__s._s
call fcn.004ae670
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov byte [edx + 0x11], 1
inc dword [esi + 0x14]
jmp 0x4de1cf
push eax
push str._s:__s
call fcn.004ae670
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x38]
add esp, 0xc
mov byte [edx + 0x11], 1
inc dword [esi + 0x14]
jmp 0x4de1cf
mov esi, dword [esp + 0x2c]
movzx eax, word [ebx + 0x20]
xor ebp, ebp
cmp ax, bp
jl 0x4de1ff
mov edi, dword [esp + 0x24]
cmp edi, ebp
je 0x4de1ff
movsx ecx, ax
cmp ecx, 0x40
jl 0x4de1ed
lea ecx, [ebp + 0x3f]
mov eax, 1
xor edx, edx
call fcn.0058de50
or dword [edi + 0x38], eax
or dword [edi + 0x3c], edx
mov eax, dword [ebx + 0xc]
cmp eax, ebp
je 0x4de214
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.004e0a30
add esp, 8
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], ebp
cmp eax, ebp
je 0x4de22c
mov ecx, dword [esp + 0x50]
push eax
push ecx
call fcn.004e0a30
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 0x4ddf82
jmp 0x4de014