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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0xc], edx
mov dword [ebp + 0x10], eax
inc eax
mov edx, eax
mov byte [esp + 3], 1
push ebx
mov dword [esp + 0x34], edx
push esi
lea ebx, [edx + 1]
mov dword [esp + 0x50], eax
add edx, 2
mov dword [esp + 0x30], ebx
mov esi, ecx
mov dword [esp + 0x3c], edx
inc edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x4c], edx
inc edx
mov dword [esp + 0x48], edx
inc edx
cmp dword [esi + 0x2c], edx
mov ecx, edx
push edi
cmovg ecx, dword [esi + 0x2c]
mov edi, dword [esi]
mov dword [esi + 0x2c], ecx
mov esi, dword [esi + 8]
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], edx
test esi, esi
jne 0x4525ab
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x78], esi
jne 0x45259a
test byte [edi + 0x44], 8
jne 0x45259a
mov byte [eax + 0x17], 1
mov ecx, eax
call fcn.004334f0
mov esi, eax
test esi, esi
je 0x452cd0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x452cd0
cmp dword [eax + 0x1c], 0
je 0x452cd0
mov edx, dword [eax]
mov ecx, str.sqlite__
push 0
push 0x53f6e0
call fcn.0045f0b0
add esp, 8
test eax, eax
je 0x452cd0
mov edx, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [edx + 0x48]
call fcn.0046cdc0
mov ecx, dword [edi + 0x10]
mov edx, eax
mov edi, dword [esp + 0x1c]
add edx, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
push dword [ecx + edx*8]
mov edx, 0x1c
mov ecx, edi
push 0
push dword [eax]
call fcn.00454550
add esp, 0xc
test eax, eax
jne 0x452cd0
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x38]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.004545e0
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov edx, ecx
inc ecx
mov dword [esp + 0x14], ecx
inc ecx
cmp dword [edi + 0x28], ecx
push 0x68
cmovg ecx, dword [edi + 0x28]
push dword [esp + 0x1c]
mov dword [edi + 0x28], ecx
mov ecx, edi
push dword [esp + 0x40]
mov dword [esp + 0x68], edx
call fcn.00463d60
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x40]
mov ecx, esi
push dword [edi]
call fcn.00433a80
mov edx, dword [edi + 8]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
test edx, edx
je 0x452c19
nop word [eax + eax]
test eax, eax
je 0x45269c
cmp eax, edx
jne 0x452c06
movzx eax, byte [esp + 0xf]
xor ecx, ecx
cmp dword [edx + 0x24], ecx
cmovne ecx, eax
test byte [edi + 0x24], 0x20
mov byte [esp + 0xf], cl
je 0x45290b
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x45290b
movzx ebx, word [edx + 0x32]
mov eax, dword [edi]
lea edi, [ebx - 1]
mov edx, dword [esp + 0x50]
mov ecx, esi
push eax
mov dword [esp + 0x2c], edi
call fcn.00433a80
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add ecx, edi
cmp dword [edx + 0x2c], ecx
push dword [esp + 0x38]
cmovg ecx, dword [edx + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, 0x68
push dword [eax + 0x2c]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.00433850
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
call fcn.00434890
push dword [esp + 0x54]
mov edx, 0x43
mov ecx, esi
push ebx
call fcn.004339a0
mov ebx, dword [ebp + 0x10]
mov edx, 0x43
mov ecx, esi
lea eax, [ebx + 2]
push eax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 0x32]
push eax
call fcn.004339a0
push 0xfffffffffffffff8
push 0x540e64
push ebx
lea eax, [ebx + 1]
mov edx, 0xa2
push eax
push 0
mov ecx, esi
call fcn.00433d00
mov eax, dword [esi + 0x88]
add esp, 0x24
test eax, eax
jle 0x452783
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov ebx, dword [esp + 0x14]
mov edx, 0x25
push ebx
mov ecx, esi
call fcn.00433930
add esp, 4
mov dword [esp + 0x58], eax
mov edx, 0x43
mov ecx, esi
push dword [esp + 0x3c]
push 0
call fcn.004339a0
mov eax, dword [esi + 0x88]
add esp, 8
mov dword [esp + 0x30], eax
test edi, edi
jle 0x452a42
mov ecx, esi
call fcn.00433fb0
lea ecx, [edi*4]
mov ebx, eax
push 0
push ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], ebx
call fcn.004138a0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x452bfb
mov edx, 0xd
mov ecx, esi
call fcn.004338c0
mov eax, dword [esi + 0x88]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
cmp edi, 1
jne 0x452832
cmp word [eax + 0x32], di
jne 0x452832
cmp byte [eax + 0x36], 0
je 0x452832
push ebx
push dword [esp + 0x24]
lea edx, [edi + 0x32]
mov ecx, esi
call fcn.004339a0
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test edi, edi
jle 0x4528cb
nop dword [eax]
mov edx, dword [eax + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ebx*4]
call fcn.00456ad0
push dword [esp + 0x3c]
mov edx, 0x43
mov ecx, esi
push ebx
mov edi, eax
call fcn.004339a0
push dword [esp + 0x3c]
mov edx, 0x60
mov ecx, esi
push ebx
push dword [esp + 0x24]
call fcn.00433850
mov eax, dword [esp + 0x34]
add esp, 0x14
add eax, ebx
mov edx, 0x34
mov ecx, esi
push 0xfffffffffffffffe
push edi
push eax
push 0
push dword [esp + 0x44]
call fcn.00433d00
mov ecx, dword [esp + 0x40]
add esp, 0x14
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x4528ba
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x28]
inc ebx
mov eax, dword [esp + 0x10]
cmp ebx, edi
jl 0x452840
push dword [esp + 0x3c]
mov edx, 0x43
mov ecx, esi
push edi
call fcn.004339a0
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, esi
call fcn.00433a10
mov ecx, dword [esp + 0x30]
sub ecx, 1
mov edx, dword [esi + 0x88]
jns 0x4528fc
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x452925
mov eax, 0x55b424
jmp 0x45292e
test byte [edx + 0x38], 8
movzx ebx, word [edx + 0x34]
mov eax, dword [edx]
je 0x4526ca
movzx edi, word [edx + 0x32]
dec edi
jmp 0x4526cd
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ebx, dword [esp + 0x28]
xor edi, edi
mov dword [eax + 8], edx
test ebx, ebx
jle 0x4529d8
nop
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 0x88]
mov ecx, dword [eax + edi*4]
test ecx, ecx
jns 0x452954
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x452963
mov eax, 0x55b424
jmp 0x45296c
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x45299a
mov eax, dword [esp + 0x20]
mov edx, 0x60
add eax, edi
mov ecx, esi
push eax
push edi
push dword [esp + 0x1c]
call fcn.00433810
add esp, 0xc
jmp 0x4529cf
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x60
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 + 0x20]
add eax, edi
mov dword [ecx + 0xc], eax
inc edi
cmp edi, ebx
jl 0x452940
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4529f7
mov eax, dword [esp + 0x44]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov edi, dword [esp + 0x48]
cmp dword [edi + 0x1d0], 0
je 0x452a11
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.00413520
jmp 0x452a3e
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [edi + 0x128]
jb 0x452a35
cmp ecx, dword [edi + 0x12c]
jae 0x452a35
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x452a3e
push ecx
call fcn.004134b0
add esp, 4
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
mov edx, 0xa2
push 0xfffffffffffffff8
push 0x542ce0
push edi
push dword [ebp + 0x10]
mov ecx, esi
push 1
call fcn.00433d00
mov eax, dword [esi + 0x88]
add esp, 0x14
test eax, eax
jle 0x452a7c
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x452aa2
push 0
push dword [esp + 0x34]
mov edx, 7
mov ecx, esi
push ebx
call fcn.00433810
add esp, 0xc
jmp 0x452ad4
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x4c]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.00452440
push 0
push 0x5484b0
push edi
push 3
push dword [esp + 0x58]
mov edx, 0x63
mov ecx, esi
call fcn.00433d00
mov eax, dword [esi + 0xc]
add esp, 0x1c
mov ecx, dword [esi + 0x88]
mov ebx, dword [esp + 0x24]
cmp dword [eax + 0x30], ecx
jg 0x452b2c
push 0
push ebx
push dword [ebp + 0xc]
mov edx, 0x73
mov ecx, esi
call fcn.00433810
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x452b5d
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x73
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x452b7f
push ebx
push edi
push edx
mov edx, 0x74
mov ecx, esi
call fcn.00433810
add esp, 0xc
jmp 0x452bad
mov ebx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x452bc7
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x58]
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x452bd8
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x452be7
mov eax, 0x55b424
jmp 0x452bf0
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov al, byte [esp + 0xf]
mov byte [esp + 0xf], al
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x452690
mov ebx, dword [esp + 0x34]
test eax, eax
jne 0x452cd0
mov al, byte [esp + 0xf]
test al, al
je 0x452cd0
mov edi, dword [esp + 0x4c]
mov edx, 0x64
push edi
push dword [esp + 0x60]
mov ecx, esi
call fcn.004339a0
push edi
mov edx, 0x16
mov ecx, esi
call fcn.00433930
add esp, 0xc
mov edx, 0x46
mov ecx, esi
mov edi, eax
push dword [esp + 0x50]
push 0
call fcn.004339a0
push 0
push 0x5484b0
push ebx
push 3
push dword [esp + 0x58]
mov edx, 0x63
mov ecx, esi
call fcn.00433d00
add esp, 0x1c
mov edx, 0x73
mov ecx, esi
push dword [esp + 0x24]
push dword [ebp + 0xc]
call fcn.004339a0
push dword [esp + 0x2c]
mov edx, 0x74
mov ecx, esi
push ebx
push dword [ebp + 0xc]
call fcn.00433850
mov eax, dword [esi + 0x88]
add esp, 0x14
test eax, eax
jle 0x452cc7
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov edx, edi
mov ecx, esi
call fcn.00434350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret