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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x3c], eax
inc eax
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], eax
inc eax
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x38], eax
inc eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
mov dword [esp + 0x4c], eax
inc eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x44], eax
inc eax
cmp ecx, eax
push esi
push edi
mov byte [esp + 0x13], 1
mov dword [ebp + 0x18], eax
jle 0x459e10
mov eax, ecx
mov edi, ebx
mov dword [ebx + 0x4c], eax
call fcn.00473120
mov edi, eax
test edi, edi
je 0x45a53c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45a53c
cmp dword [eax + 0x1c], 0
je 0x45a53c
mov eax, dword [eax]
push 0
push 0x528f38
push eax
push str.sqlite__
call fcn.00464690
add esp, 0x10
test eax, eax
jne 0x45a53c
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x40]
mov ecx, dword [esp + 0x24]
call fcn.0046fdf0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
shl eax, 4
mov eax, dword [eax + edx]
mov edx, dword [ecx]
push eax
push 0
push edx
push 0x1c
mov eax, ebx
call fcn.0045ba50
add esp, 0x10
test eax, eax
jne 0x45a53c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [esp + 0x30]
push ecx
push 0
push edx
mov esi, ebx
mov ebx, dword [eax + 0x1c]
push esi
call fcn.0045bae0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x60], eax
inc eax
mov dword [esp + 0x30], eax
inc eax
add esp, 0x10
cmp ecx, eax
jle 0x459ec6
mov eax, ecx
mov edx, dword [esp + 0x50]
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x30]
push esi
push eax
push edx
mov eax, 0x36
call fcn.004684b0
mov ebx, dword [esi]
mov eax, dword [esp + 0x50]
add esp, 0xc
mov esi, edi
call fcn.00440d00
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x45a459
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x459f16
cmp eax, dword [esp + 0x18]
jne 0x45a446
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x24], 0
jne 0x459f25
mov byte [esp + 0x13], 0
mov ecx, dword [ebp + 0xc]
test byte [ecx + 0x2a], 0x20
je 0x459f4a
mov edx, dword [eax + 0x38]
and dl, 3
cmp dl, 2
jne 0x459f4a
movzx eax, word [eax + 0x32]
mov ebx, dword [ecx]
mov dword [esp + 0x40], eax
dec eax
mov dword [esp + 0x14], eax
jmp 0x459f6a
test byte [eax + 0x38], 8
movzx ecx, word [eax + 0x34]
mov ebx, dword [eax]
mov dword [esp + 0x40], ecx
je 0x459f65
movzx eax, word [eax + 0x32]
dec eax
mov dword [esp + 0x14], eax
jmp 0x459f6a
dec ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x54]
mov esi, edi
call fcn.00440d00
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 8]
add eax, ecx
mov ecx, dword [edx + 0x4c]
cmp ecx, eax
jle 0x459f8a
mov eax, ecx
mov ebx, dword [esp + 0x18]
mov esi, edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0x2c]
push eax
push ecx
push edx
push 0x36
push edi
call fcn.00440c90
add esp, 0x14
mov ecx, ebx
mov eax, esi
call fcn.004416a0
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
push 0
push esi
push eax
push 0x16
push edi
call fcn.00440c90
mov ecx, dword [esp + 0x40]
movzx edx, word [ebx + 0x32]
add esp, 0x14
push 0
add ecx, 2
push ecx
push edx
push 0x16
push edi
call fcn.00440c90
mov eax, dword [esp + 0x40]
add esp, 0x14
push eax
push esi
push 0
push 0x23
push edi
call fcn.00440c90
mov edx, dword [edi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x45a012
mov ecx, 0x528e74
mov eax, 0xfffffffb
call fcn.00441340
jmp 0x45a04c
test eax, eax
jge 0x45a01a
mov eax, dword [edi + 0x20]
dec eax
mov edx, dword [edi + 4]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea eax, [edx + ecx*4]
je 0x45a041
push 0x528e74
push eax
mov eax, 0xfffffffb
mov ecx, edi
call fcn.00441530
add esp, 8
jmp 0x45a04c
mov dword [eax + 0x10], 0x528e74
mov byte [eax + 1], 0xfb
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x45a062
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 4]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 2
mov eax, dword [esp + 0x20]
push 0
push 0
push eax
push 0x6c
push edi
call fcn.00440c90
add esp, 0x14
push 0
mov ecx, esi
push ecx
push 0
push 0x16
push edi
mov dword [esp + 0x70], eax
call fcn.00440c90
mov esi, dword [esp + 0x28]
mov edx, dword [edi + 0x20]
add esp, 0x14
mov dword [esp + 0x40], edx
test esi, esi
jle 0x45a2df
mov eax, edi
call fcn.00440ff0
mov dword [esp + 0x3c], eax
lea eax, [esi*4]
push 0
push eax
mov eax, dword [esp + 0x2c]
call fcn.00423fa0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x45a446
push 0
push 0
push 0
push 0xd
push edi
call fcn.00440c90
mov ecx, dword [edi + 0x20]
add esp, 0x14
mov dword [esp + 0x40], ecx
cmp esi, 1
jne 0x45a10b
cmp word [ebx + 0x32], si
jne 0x45a10b
cmp byte [ebx + 0x36], 0
je 0x45a10b
mov edx, dword [esp + 0x3c]
mov eax, dword [ebp + 0x18]
push 0
push edx
push eax
push 0x4d
push edi
call fcn.00440c90
add esp, 0x14
xor ebx, ebx
test esi, esi
jle 0x45a1e9
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx + ebx*4]
mov esi, dword [ebp + 8]
call fcn.0045d800
push 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
push eax
push ebx
push 0x16
push edi
call fcn.00440c90
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0x14
push esi
push ebx
push ecx
push 0x2f
push edi
call fcn.00440c90
mov edx, dword [ebp + 0x18]
add esp, 0x14
lea eax, [ebx + edx]
push eax
push 0
push esi
push 0x4e
push edi
call fcn.00440c90
mov edx, dword [edi]
add esp, 0x14
cmp byte [edx + 0x45], 0
mov esi, eax
je 0x45a183
mov ecx, dword [esp + 0x34]
mov eax, 0xfffffffc
call fcn.00441340
jmp 0x45a1bd
test esi, esi
jge 0x45a18b
mov eax, dword [edi + 0x20]
dec eax
mov edx, dword [edi + 4]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
je 0x45a1b2
push ecx
push eax
mov eax, 0xfffffffc
mov ecx, edi
call fcn.00441530
add esp, 8
jmp 0x45a1bd
test ecx, ecx
je 0x45a1bd
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfc
mov edx, dword [esp + 0x28]
mov dword [edx + ebx*4], esi
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x45a1da
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 4]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 0x80
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x45a115
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push 0
push eax
push esi
push 0x16
push edi
call fcn.00440c90
mov ecx, dword [esp + 0x50]
add esp, 0x14
push 0
push ecx
push 0
push 0xd
push edi
call fcn.00440c90
mov ecx, dword [esp + 0x54]
add esp, 0x14
dec ecx
mov eax, edi
call fcn.00441300
xor ebx, ebx
test esi, esi
jle 0x45a275
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ebx*4]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
dec ecx
mov dword [edx + 0x60], ecx
mov ecx, dword [edi + 0x20]
test eax, eax
jge 0x45a23d
mov eax, ecx
dec eax
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x45a24c
mov eax, 0x550118
jmp 0x45a255
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x18]
lea ecx, [ebx + eax]
push ecx
push ebx
push edx
push 0x2f
push edi
call fcn.00440c90
inc ebx
add esp, 0x14
cmp ebx, esi
jl 0x45a222
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x45a291
mov edx, dword [esp + 0x3c]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [edi + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x20]
dec eax
mov dword [ecx + 0x60], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x1c8], 0
mov eax, dword [esp + 0x28]
je 0x45a2b0
call fcn.00423c80
jmp 0x45a2df
cmp eax, dword [ecx + 0x120]
jb 0x45a2d6
cmp eax, dword [ecx + 0x124]
jae 0x45a2d6
mov edx, dword [ecx + 0x11c]
mov dword [eax], edx
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], eax
jmp 0x45a2df
push eax
call fcn.00423c10
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push 1
push 0x23
push edi
call fcn.00440c90
mov edx, dword [edi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x45a30f
mov ecx, 0x528e90
mov eax, 0xfffffffb
call fcn.00441340
jmp 0x45a349
test eax, eax
jge 0x45a317
mov eax, dword [edi + 0x20]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x45a33e
push 0x528e90
push eax
mov eax, 0xfffffffb
mov ecx, edi
call fcn.00441530
add esp, 8
jmp 0x45a349
mov dword [eax + 0x10], 0x528e90
mov byte [eax + 1], 0xfb
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x45a35f
mov eax, dword [edi + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + edx*4 - 0x11], 2
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
push 7
push edi
call fcn.00440c90
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
add esp, 0x14
mov esi, edi
call fcn.00459d30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
push eax
push 3
push ecx
push 0x31
push edi
call fcn.00440c90
mov edx, dword [edi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x45a3b2
mov ecx, 0x530bbc
xor eax, eax
call fcn.00441340
jmp 0x45a3d5
test eax, eax
jge 0x45a3ba
mov eax, dword [edi + 0x20]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea ecx, [eax + edx*4]
push 0x530bbc
push ecx
xor eax, eax
mov ecx, edi
call fcn.00441530
add esp, 8
mov ebx, dword [esp + 0x48]
mov esi, dword [ebp + 0x14]
push 0
push ebx
push esi
push 0x4a
push edi
call fcn.00440c90
mov edx, dword [esp + 0x30]
add esp, 0x14
push ebx
push edx
push esi
push 0x4b
push edi
call fcn.00440c90
mov eax, dword [edi]
add esp, 0x14
cmp byte [eax + 0x45], 0
jne 0x45a413
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 4]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 8
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
dec eax
mov dword [ecx + 0x60], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + 0x20]
test eax, eax
jge 0x45a42b
mov eax, ecx
dec eax
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x45a43a
mov eax, 0x550118
jmp 0x45a443
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x459f05
cmp dword [ebp + 0x10], 0
jne 0x45a53c
cmp byte [esp + 0x13], 0
je 0x45a53c
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
push 0
push esi
push ecx
push 0x32
push edi
call fcn.00440c90
add esp, 0x14
push 0
push 0
push esi
push 0x2e
push edi
call fcn.00440c90
mov edx, dword [esp + 0x68]
add esp, 0x14
push 0
push edx
push 0
push 0x19
push edi
mov esi, eax
call fcn.00440c90
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
add esp, 0x14
push eax
push 3
push ecx
push 0x31
push edi
call fcn.00440c90
mov edx, dword [edi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x45a4d8
mov ecx, 0x530bbc
xor eax, eax
call fcn.00441340
jmp 0x45a4fb
test eax, eax
jge 0x45a4e0
mov eax, dword [edi + 0x20]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea ecx, [eax + edx*4]
push 0x530bbc
push ecx
xor eax, eax
mov ecx, edi
call fcn.00441530
add esp, 8
mov edx, dword [esp + 0x48]
mov ebx, dword [ebp + 0x14]
push 0
push edx
push ebx
push 0x4a
push edi
call fcn.00440c90
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
add esp, 0x14
push eax
push ecx
push ebx
push 0x4b
push edi
call fcn.00440c90
add esp, 0x14
push 8
mov ecx, edi
call fcn.004412e0
add esp, 4
mov ecx, esi
mov eax, edi
call fcn.00441300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret