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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
inc eax
mov dword [esp + 0x5c], eax
inc eax
mov ecx, eax
mov dword [esp + 0x3c], eax
push ebp
mov dword [esp + 0x28], ecx
push esi
lea ebp, [ecx + 1]
mov byte [esp + 0xb], 1
add ecx, 2
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], ecx
inc ecx
push edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x44], ecx
inc ecx
mov dword [esp + 0x40], ecx
inc ecx
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x2c]
mov edx, dword [edi]
mov dword [esp + 0x18], edx
cmp eax, ecx
jg 0x450e63
mov eax, ecx
mov esi, dword [edi + 8]
mov dword [edi + 0x2c], eax
test esi, esi
jne 0x450e8f
cmp dword [edi + 0x74], esi
jne 0x450e7c
test byte [edx + 0x4c], 8
jne 0x450e7c
mov byte [edi + 0x17], 1
push edi
call fcn.004b9430
mov esi, eax
add esp, 4
test esi, esi
je 0x451476
push ebx
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x451475
cmp dword [ebx + 0x1c], 0
je 0x451475
push 0x5c
push 0x4e9e80
push dword [ebx]
push str.sqlite__
call fcn.0047ed90
add esp, 0x10
test eax, eax
je 0x451475
push dword [ebx + 0x48]
push dword [esp + 0x20]
call fcn.004b0720
mov edx, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
add edx, edx
mov ecx, dword [eax + 0x10]
push dword [ecx + edx*8]
push 0
push dword [ebx]
push 0x1c
push edi
call fcn.00489d80
add esp, 0x1c
test eax, eax
jne 0x451475
push dword [ebx]
push eax
push dword [ebx + 0x1c]
push dword [esp + 0x3c]
push edi
call fcn.004b4a90
mov eax, dword [esp + 0x84]
add esp, 0x14
mov ecx, dword [edi + 0x28]
mov edx, eax
inc eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x14], eax
inc eax
cmp ecx, eax
jg 0x450f28
mov ecx, eax
push 0x60
push ebx
push dword [esp + 0x38]
mov dword [edi + 0x28], ecx
push edx
push edi
call fcn.004a7ef0
push dword [ebx]
push dword [esp + 0x58]
push esi
call fcn.004c0f50
mov ebx, dword [ebx + 8]
add esp, 0x20
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x4513f0
jmp 0x450f60
test eax, eax
je 0x450f6c
cmp eax, ebx
jne 0x4513e1
mov eax, dword [ebx + 0x24]
mov ecx, dword [esp + 0x60]
neg eax
sbb al, al
and byte [esp + 0x13], al
test byte [ecx + 0x24], 0x80
je 0x45116c
mov eax, dword [ebx + 0x38]
and al, 3
cmp al, 2
jne 0x45116c
movzx edi, word [ebx + 0x32]
mov eax, dword [ecx]
lea ebp, [edi - 1]
push 0
push eax
push 0
push dword [esp + 0x54]
push 0
push 0x73
push esi
call fcn.004b8aa0
mov edx, dword [esp + 0x78]
add esp, 0x1c
mov ecx, dword [esp + 0x18]
add ecx, ebp
mov eax, dword [edx + 0x2c]
cmp eax, ecx
jg 0x450fc4
mov eax, ecx
push dword [esp + 0x30]
mov dword [edx + 0x2c], eax
push dword [ebx + 0x2c]
push dword [esp + 0x1c]
push 0x60
push esi
call fcn.004b8a40
push ebx
push dword [esp + 0x74]
call fcn.004c3470
push dword [esp + 0x68]
push edi
push 0x45
push esi
call fcn.004b89e0
mov edi, dword [esp + 0x98]
lea eax, [edi + 2]
push eax
movzx eax, word [ebx + 0x32]
push eax
push 0x45
push esi
call fcn.004b89e0
push 0
push 0x4ea564
push 2
push edi
lea eax, [edi + 1]
mov edi, dword [esp + 0xa8]
push eax
push 0
push edi
call fcn.004b8880
add esp, 0x58
push dword [esp + 0x14]
push 0x25
push esi
call fcn.004b8980
push dword [esp + 0x40]
mov dword [esp + 0x60], eax
push 0
push 0x45
push esi
call fcn.004b89e0
mov eax, dword [esi + 0x6c]
add esp, 0x1c
mov dword [esp + 0x20], eax
test ebp, ebp
jle 0x45125c
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x3c], eax
lea eax, [ebp*4]
push 0
push eax
push dword [esp + 0x24]
call fcn.00491d60
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
je 0x4513d9
push 0xb
push esi
call fcn.004b8930
mov eax, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x20], eax
cmp ebp, 1
jne 0x4510bb
cmp word [ebx + 0x32], bp
jne 0x4510bb
cmp byte [ebx + 0x36], 0
je 0x4510bb
push dword [esp + 0x3c]
push dword [esp + 0x1c]
push 0x33
push esi
call fcn.004b89e0
add esp, 0x10
xor ebx, ebx
test ebp, ebp
jle 0x451136
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
push dword [eax + ebx*4]
push edi
call fcn.004a6ec0
push dword [esp + 0x3c]
mov edi, eax
push ebx
push 0x45
push esi
call fcn.004b89e0
push dword [esp + 0x3c]
push ebx
push dword [esp + 0x34]
push 0x59
push esi
call fcn.004b8a40
mov eax, dword [esp + 0x44]
push 0xfffffffffffffffe
push edi
add eax, ebx
push eax
push 0
push dword [esp + 0x60]
push 0x34
push esi
call fcn.004b8aa0
mov ecx, dword [esp + 0x80]
add esp, 0x48
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x45112d
lea ecx, [eax + eax*4]
mov edx, pe_nt_image_headers32
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x5c]
inc ebx
cmp ebx, ebp
jl 0x4510c1
push dword [esp + 0x34]
push ebp
push 0x45
push esi
call fcn.004b89e0
push dword [esp + 0x4c]
push esi
call fcn.004c02d0
mov ecx, dword [esp + 0x38]
add esp, 0x18
dec ecx
mov edx, dword [esi + 0x6c]
jns 0x45115d
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x451186
mov eax, 0x50e22c
jmp 0x45118f
test byte [ebx + 0x38], 8
movzx edi, word [ebx + 0x34]
mov eax, dword [ebx]
je 0x450f98
movzx ebp, word [ebx + 0x32]
dec ebp
jmp 0x450f9b
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ebx, dword [esp + 0x38]
xor edi, edi
mov dword [eax + 8], edx
test ebp, ebp
jle 0x451220
mov ecx, dword [ebx + edi*4]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4511ad
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4511bc
mov eax, 0x50e22c
jmp 0x4511c5
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4511e9
mov eax, dword [esp + 0x18]
add eax, edi
push eax
push edi
push dword [esp + 0x1c]
push 0x59
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x45121b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
add eax, edi
mov dword [ecx + 0xc], eax
inc edi
cmp edi, ebp
jl 0x4511a0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x45123e
push edx
push esi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x451247
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
push ebx
push dword [esp + 0x20]
call fcn.00491cd0
mov ebx, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x24]
push 0
push 0x4ea918
push 2
push ebp
push dword [esp + 0x7c]
push 1
push edi
call fcn.004b8880
mov ecx, dword [esi + 0x6c]
add esp, 0x1c
cmp dword [esi + 0x70], ecx
jg 0x451298
push 0
push dword [esp + 0x24]
push dword [esp + 0x1c]
push 5
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4512cb
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push 0x4ed6b8
push 1
push dword [esp + 0x50]
push dword [esp + 0x7c]
push 0
push edi
call fcn.004b8880
push 0
push 0x4f0df4
push ebp
push 3
push dword [esp + 0x6c]
push 0x5b
push esi
call fcn.004b8aa0
mov ecx, dword [esi + 0x6c]
add esp, 0x38
mov edi, dword [esp + 0x2c]
cmp dword [esi + 0x70], ecx
jg 0x451321
push 0
push edi
push dword [esp + 0x70]
push 0x78
push esi
call fcn.004752f0
mov edx, dword [esp + 0x7c]
add esp, 0x14
jmp 0x451350
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x451368
push edi
push ebp
push edx
push 0x79
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x451393
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4513aa
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4513b8
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4513ca
mov eax, 0x50e22c
mov dword [eax + 8], edx
jmp 0x4513dd
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4513dd
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x450f60
test eax, eax
jne 0x451475
cmp byte [esp + 0x13], al
je 0x451475
mov ebx, dword [esp + 0x44]
push ebx
push dword [esp + 0x58]
push 0x5c
push esi
call fcn.004b89e0
push ebx
push 0x14
push esi
call fcn.004b8980
push dword [esp + 0x64]
mov edi, eax
push 0
push 0x48
push esi
call fcn.004b89e0
push 0
push 0x4f0df4
push ebp
push 3
push dword [esp + 0x7c]
push 0x5b
push esi
call fcn.004b8aa0
mov ebx, dword [esp + 0xb0]
add esp, 0x48
push dword [esp + 0x2c]
push ebx
push 0x78
push esi
call fcn.004b89e0
push dword [esp + 0x3c]
push ebp
push ebx
push 0x79
push esi
call fcn.004b8a40
push 8
push esi
call fcn.004b8fb0
push edi
push esi
call fcn.004c0950
add esp, 0x34
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x48
ret