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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x68]
cmp ebp, 1
push esi
push edi
mov ebx, eax
jne 0x43bcc2
mov edi, str.sqlite_temp_master
mov eax, str.CREATE_TEMP_TABLE_sqlite_temp_master__n__type_text__n__name_text__n__tbl_name_text__n__rootpage_integer__n__sql_text_n_
mov dword [esp + 0x14], edi
jmp 0x43bcd3
mov dword [esp + 0x14], str.sqlite_master
mov edi, dword [esp + 0x14]
mov eax, str.CREATE_TABLE_sqlite_master__n__type_text__n__name_text__n__tbl_name_text__n__rootpage_integer__n__sql_text_n_
mov ecx, dword [ebx + 0x30]
mov esi, 0xf03b7906
cmp ecx, esi
jne 0x43bce8
mov dword [ebx + 0x30], 0xa029a697
jmp 0x43bcf9
mov dword [ebx + 0x30], 0xb5357930
mov dword [ebx + 0x98], 1
push 0
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x2c]
push 3
push edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0x45f864
mov dword [esp + 0x50], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
call fcn.0041ce30
add esp, 0x10
test eax, eax
je 0x43bd75
mov eax, dword [ebx + 0x30]
cmp eax, 0xa029a697
jne 0x43bd54
mov eax, dword [esp + 0x30]
pop edi
mov dword [ebx + 0x30], esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp eax, esi
jne 0x43bd69
mov dword [ebx + 0x30], 0xb5357930
mov dword [ebx + 0x98], 1
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [ebx + 4]
lea esi, [ebp + ebp*2]
shl esi, 3
mov ecx, dword [esi + eax]
push ecx
push edi
mov dword [esp + 0x20], esi
call fcn.00413330
add esp, 8
test eax, eax
je 0x43bd98
mov byte [eax + 0x34], 1
mov eax, dword [ebx + 0x30]
cmp eax, 0xa029a697
jne 0x43bdab
mov dword [ebx + 0x30], 0xf03b7906
jmp 0x43bdc3
cmp eax, 0xf03b7906
jne 0x43bdc3
mov dword [ebx + 0x30], 0xb5357930
mov dword [ebx + 0x98], 1
mov edi, dword [ebx + 4]
lea eax, [edi + esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x20], edi
jne 0x43bdee
cmp ebp, 1
jne 0x43bde4
mov edi, dword [edi + 0x2c]
or byte [edi + 0x7a], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0
push 1
push eax
call fcn.0043a480
mov ebp, eax
add esp, 0x18
test ebp, ebp
je 0x43be2e
cmp ebp, 0x10
je 0x43be82
push 0
call fcn.004152d0
push eax
mov eax, dword [esp + 0x7c]
push eax
call fcn.00418360
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x5c
ret
xor esi, esi
lea edi, [esp + 0x44]
cmp esi, 0xa
jae 0x43be54
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
inc esi
push edi
call fcn.00432150
mov ebp, eax
add esp, 4
add edi, 4
test ebp, ebp
je 0x43be34
jmp 0x43be58
test ebp, ebp
je 0x43beaa
push 0
mov eax, ebp
call fcn.004152d0
mov edx, dword [esp + 0x78]
push eax
push edx
call fcn.00418360
mov edi, dword [esp + 0x1c]
add esp, 0xc
call fcn.00428540
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x5c
ret
xor edx, edx
mov ecx, edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov eax, edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
jmp 0x43beba
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
test eax, eax
mov edx, dword [edi + esi + 0x14]
lea edi, [edi + esi + 0x14]
mov dword [edx], ecx
je 0x43bf6a
mov ecx, dword [esp + 0x70]
test ecx, ecx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x14]
jne 0x43bf38
lea esi, [ebx + 0xf8]
test esi, esi
mov byte [edx + 0x79], al
je 0x43bf2d
mov eax, dword [esi + 0x18]
test eax, eax
je 0x43bf2d
cmp byte [esi], 3
mov eax, 0x410810
je 0x43befd
mov eax, 0x410880
push 6
push str.BINARY
call eax
mov edx, dword [esi + 0x14]
dec edx
push 6
and edx, eax
push str.BINARY
mov ecx, esi
call fcn.00410a20
add esp, 0x10
test eax, eax
je 0x43bf2d
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x18]
mov dword [ebx + 0x1c], eax
jmp 0x43bf75
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [ebx + 0x1c], eax
jmp 0x43bf75
movzx ecx, byte [edx + 0x79]
cmp eax, ecx
je 0x43bf75
mov edi, dword [esp + 0x10]
call fcn.00428540
mov edx, dword [esp + 0x74]
push 0
push str.attached_databases_must_use_the_same_text_encoding_as_main_database
push edx
call fcn.00418360
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5c
ret
mov eax, dword [ebx + 4]
mov eax, dword [esi + eax + 0x14]
or byte [eax + 0x7a], 4
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x14]
mov eax, dword [edi]
mov cl, byte [edx + 0x79]
mov byte [eax + 0x79], cl
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x43bf90
mov eax, 0x7d0
mov edx, dword [edi]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x7c], eax
mov eax, dword [edi]
mov edx, dword [ecx]
mov eax, dword [eax + 0x7c]
cmp eax, 0xa
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
jle 0x43bfaf
mov dword [ecx + 0x44], eax
jmp 0x43bfb6
mov dword [ecx + 0x44], 0xa
mov al, byte [esp + 0x48]
mov edx, dword [edi]
mov byte [edx + 0x78], al
mov ecx, dword [edi]
mov al, byte [ecx + 0x78]
test al, al
jne 0x43bfce
mov edx, ecx
mov byte [edx + 0x78], 1
mov eax, dword [edi]
cmp byte [eax + 0x78], 4
jbe 0x43c000
mov edi, dword [esp + 0x10]
call fcn.00428540
mov ecx, dword [esp + 0x74]
push 0
push str.unsupported_file_format
push ecx
call fcn.00418360
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5c
ret
cmp ebp, 0x10
jne 0x43c009
xor esi, esi
jmp 0x43c076
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
mov ecx, dword [esi + eax]
push edx
push ecx
push str.SELECT_name__rootpage__sql_FROM__q._s
call fcn.0041df10
mov edi, eax
mov eax, ebx
call fcn.00410790
push 0
lea edx, [esp + 0x34]
push edx
push fcn.0041ce30
push edi
push ebx
call fcn.00452c60
mov esi, eax
add esp, 0x20
cmp esi, 4
jne 0x43c049
mov esi, dword [esp + 0x30]
mov eax, ebx
call fcn.00410750
test edi, edi
je 0x43c05e
push edi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
test esi, esi
jne 0x43c06d
mov eax, dword [esp + 0x70]
mov ecx, ebx
call fcn.00420f30
mov edi, dword [esp + 0x10]
call fcn.00428540
mov eax, dword [0x4696e8]
test eax, eax
je 0x43c0a7
mov eax, dword [0x4696f0]
test eax, eax
jle 0x43c0a7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4696cc], eax
jne 0x43c0a7
push 0
mov esi, 7
call fcn.0042ab10
add esp, 4
jmp 0x43c0ab
test esi, esi
je 0x43c0b4
test dword [ebx + 8], 0x40000
je 0x43c0c5
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax + 0x14]
or byte [eax + 0x7a], 1
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret