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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x40], ebp
mov eax, dword [edi]
mov dword [esp + 0x10], eax
xor eax, eax
inc eax
inc ebp
mov dword [esp + 0x1c], ebp
inc ebp
mov dword [esp + 0x24], ebp
inc ebp
mov dword [esp + 0x4c], ebp
inc ebp
mov dword [esp + 0x70], ebp
inc ebp
mov dword [esp + 0x50], ebp
inc ebp
mov dword [esp + 0x3c], ebp
inc ebp
mov dword [esp + 0x48], ebp
inc ebp
mov dword [esp + 0x44], ebp
inc ebp
mov byte [esp + 0x38], al
cmp dword [edi + 0x2c], ebp
jge 0x534eb3
mov dword [edi + 0x2c], ebp
push edi
call fcn.0056a013
mov ebx, eax
mov dword [esp + 0x34], ebx
pop ecx
test ebx, ebx
je 0x535416
push esi
mov esi, dword [esp + 0x68]
test esi, esi
je 0x535415
cmp byte [esi + 0x2b], 0
jne 0x535415
push 0x5c
push dword [esi]
push str.sqlite__
call fcn.005287f6
add esp, 0xc
test eax, eax
je 0x535415
push dword [esi + 0x3c]
push dword [esp + 0x18]
call fcn.0057526e
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
add edx, edx
mov ecx, dword [eax + 0x10]
push dword [ecx + edx*8]
push 0
push dword [esi]
push 0x1c
push edi
call fcn.00559d89
add esp, 0x1c
test eax, eax
jne 0x535415
push dword [esi]
push eax
push dword [esi + 0x14]
push dword [esp + 0x30]
push edi
call fcn.00578768
mov eax, dword [esp + 0x8c]
mov edx, eax
inc eax
mov dword [esp + 0x70], edx
push 0x70
push esi
push dword [esp + 0x40]
lea ecx, [eax + 1]
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x28]
cmp eax, ecx
push edx
cmovle eax, ecx
push edi
mov dword [edi + 0x28], eax
call fcn.0056d55f
push dword [esi]
push dword [esp + 0x6c]
push ebx
call fcn.00582f5d
mov esi, dword [esi + 8]
add esp, 0x34
jmp 0x535369
cmp dword [esp + 0x6c], 0
je 0x534f96
cmp dword [esp + 0x6c], esi
jne 0x535366
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [esi + 0x24], ecx
movzx eax, al
cmove eax, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
test byte [ecx + 0x1c], 0x80
je 0x534fc6
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x534fc6
movzx eax, word [esi + 0x32]
mov dword [esp + 0x30], eax
jmp 0x534fda
test byte [esi + 0x38], 8
mov ecx, esi
movzx eax, word [esi + 0x34]
mov dword [esp + 0x30], eax
je 0x534fda
movzx eax, word [esi + 0x32]
push dword [ecx]
dec eax
push dword [esp + 0x50]
mov dword [esp + 0x20], eax
push ebx
call fcn.00582f5d
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, ebp
cmp dword [edi + 0x2c], eax
jge 0x534ffc
mov dword [edi + 0x2c], eax
push dword [esp + 0x24]
push dword [esi + 0x2c]
push dword [esp + 0x80]
push 0x70
push ebx
call fcn.0057b786
push esi
push edi
call fcn.00584c34
mov eax, dword [esp + 0x3c]
inc eax
push eax
push dword [esp + 0x50]
push 0x47
push ebx
call fcn.0057b76b
push dword [esp + 0x7c]
movzx eax, word [esi + 0x32]
push eax
push 0x47
push ebx
call fcn.0057b76b
push dword [esp + 0xb4]
push 0x24
push ebx
call fcn.0057b752
add esp, 0x48
mov dword [esp + 0x58], eax
xor eax, eax
inc eax
push eax
push dword [esp + 0x78]
push dword [esp + 0x80]
push 0x62
push ebx
call fcn.0057b786
mov eax, dword [esp + 0x28]
push dword [esp + 0x68]
push dword [eax + 0x1f0]
push 0x47
push ebx
call fcn.0057b76b
mov eax, dword [esp + 0x44]
push 0
push 0x657fa4
push 4
push eax
inc eax
push eax
push 0
push edi
call fcn.0057b69c
add esp, 0x40
push dword [esp + 0x28]
push 0
push 0x47
push ebx
call fcn.0057b76b
mov eax, dword [ebx + 0x6c]
add esp, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x53521f
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
shl eax, 2
push 0
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
call fcn.00560346
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
je 0x535366
push 9
push ebx
call fcn.0057b73c
mov eax, dword [ebx + 0x6c]
pop ecx
pop ecx
xor ecx, ecx
mov dword [esp + 0x1c], eax
inc ecx
cmp dword [esp + 0x18], ecx
jne 0x53511c
cmp word [esi + 0x32], cx
jne 0x53511c
cmp byte [esi + 0x36], 0
je 0x53511c
push dword [esp + 0x2c]
push ebp
push 0x33
push ebx
call fcn.0057b76b
add esp, 0x10
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x20]
push dword [eax + ecx*4]
push edi
call fcn.0056c7ae
push dword [esp + 0x30]
mov esi, eax
push dword [esp + 0x1c]
push 0x47
push ebx
call fcn.0057b76b
push dword [esp + 0x8c]
push dword [esp + 0x2c]
push dword [esp + 0x98]
push 0x5e
push ebx
call fcn.0057b786
push 0xfffffffffffffffe
push esi
mov esi, dword [esp + 0x44]
lea eax, [esi + ebp]
push eax
push 0
push dword [esp + 0xb0]
push 0x34
push ebx
call fcn.0057b7e0
mov ecx, dword [esp + 0x78]
add esp, 0x48
push 0x80
push ebx
mov dword [ecx + esi*4], eax
call fcn.0057bb2b
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, esi
mov esi, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x535122
push dword [esp + 0x28]
push eax
push 0x47
push ebx
call fcn.0057b76b
push dword [esp + 0x3c]
push ebx
call fcn.00582757
mov eax, dword [esp + 0x34]
dec eax
push eax
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
add esp, 0x20
mov edi, dword [esp + 0x18]
xor esi, esi
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x30]
push dword [eax + esi*4]
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
lea eax, [esi + ebp]
push eax
push esi
push dword [esp + 0x88]
push 0x5e
push ebx
call fcn.0057b786
add esp, 0x1c
inc esi
cmp esi, edi
jl 0x5351d2
push dword [esp + 0x2c]
push ebx
call fcn.00584970
push dword [esp + 0x38]
push dword [esp + 0x20]
call fcn.00560283
mov edi, dword [esp + 0x74]
add esp, 0x10
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
push 0
push 0x657fcc
push 2
push esi
push eax
xor eax, eax
inc eax
push eax
push edi
call fcn.0057b69c
mov eax, dword [esp + 0x30]
add esp, 0x1c
cmp dword [eax + 0x1f0], 0
je 0x5352d9
push esi
push 0x32
push ebx
call fcn.0057b752
push dword [esp + 0x80]
mov esi, eax
push 0x10
push ebx
call fcn.0057b752
mov ebx, eax
xor eax, eax
inc eax
push eax
push ebp
push 0
push dword [esp + 0x9c]
push 0x18
push dword [esp + 0x60]
call fcn.0057b858
mov edx, dword [esp + 0x64]
mov edi, eax
push esi
push edx
call fcn.0058273c
push dword [esp + 0x54]
mov ecx, dword [edx + 0x6c]
push dword [esp + 0xb4]
mov dword [eax + 8], ecx
push 0x27
push edx
call fcn.0057b76b
add esp, 0x48
push ebx
mov ebx, dword [esp + 0x38]
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
push edi
push ebx
mov dword [eax + 8], ecx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x84]
mov dword [eax + 8], ecx
jmp 0x5352e9
push dword [esp + 0x1c]
push dword [esp + 0x7c]
push 0x27
push ebx
call fcn.0057b76b
add esp, 0x10
xor eax, eax
inc eax
push 0
push 0x657ff4
push eax
push dword [esp + 0x54]
push dword [esp + 0x30]
push 0
push edi
call fcn.0057b69c
push 0
push 0x65c8ec
push esi
push 3
push dword [esp + 0x6c]
push 0x61
push ebx
call fcn.0057b7e0
push dword [esp + 0x7c]
push dword [esp + 0xac]
push 0x7f
push ebx
call fcn.0057b76b
add esp, 0x48
push dword [esp + 0x44]
push esi
push dword [esp + 0x78]
push 0x80
push ebx
call fcn.0057b786
push 8
push ebx
call fcn.0057bb2b
push dword [esp + 0x74]
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
add esp, 0x24
mov esi, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov esi, dword [esi + 0x14]
mov dword [esp + 0x38], esi
test esi, esi
jne 0x534f85
cmp dword [esp + 0x6c], 0
jne 0x535415
cmp byte [esp + 0x3c], 0
je 0x535415
mov ebp, dword [esp + 0x48]
push ebp
push dword [esp + 0x60]
push 0x62
push ebx
call fcn.0057b76b
push ebp
push 0x11
push ebx
call fcn.0057b752
push dword [esp + 0x68]
mov esi, eax
push 0
push 0x4b
push ebx
call fcn.0057b76b
mov ebp, dword [esp + 0xa0]
push 0
push 0x65c8ec
push ebp
push 3
push dword [esp + 0x7c]
push 0x61
push ebx
call fcn.0057b7e0
mov edi, dword [esp + 0x8c]
add esp, 0x48
push edi
push dword [esp + 0x74]
push 0x7f
push ebx
call fcn.0057b76b
push edi
push ebp
push dword [esp + 0x88]
push 0x80
push ebx
call fcn.0057b786
push 8
push ebx
call fcn.0057bb2b
push esi
push ebx
call fcn.0058273c
mov ecx, dword [ebx + 0x6c]
add esp, 0x34
mov dword [eax + 8], ecx
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x50
ret