Function at 0x453030
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 + 0x28], 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 + 0x2c], 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 + 0x4c], edx
mov ecx, edx
push edi
cmovg ecx, dword [esi + 0x4c]
mov edi, dword [esi]
mov dword [esi + 0x4c], ecx
mov esi, dword [esi + 8]
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], edx
test esi, esi
jne 0x4530aa
mov ecx, dword [esp + 0x1c]
call fcn.0046eff0
mov esi, eax
test esi, esi
je 0x4537a5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4537a5
cmp dword [eax + 0x1c], 0
je 0x4537a5
mov edx, dword [eax]
mov ecx, str.sqlite__
push 0
push 0x4f8344
call fcn.0045ec40
add esp, 8
test eax, eax
jne 0x4537a5
mov edx, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [edx + 0x40]
call fcn.0046b670
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.00454dd0
add esp, 0xc
test eax, eax
jne 0x4537a5
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x38]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.00454e60
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov edx, ecx
inc ecx
mov dword [esp + 0x14], ecx
inc ecx
cmp dword [edi + 0x48], ecx
push 0x66
cmovg ecx, dword [edi + 0x48]
push dword [esp + 0x1c]
mov dword [edi + 0x48], ecx
mov ecx, edi
push dword [esp + 0x40]
mov dword [esp + 0x68], edx
call fcn.00463470
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x40]
mov ecx, esi
push dword [edi]
call fcn.00437950
mov edx, dword [edi + 8]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
test edx, edx
je 0x4536f2
nop dword [eax]
test eax, eax
je 0x45319c
cmp eax, edx
jne 0x4536df
movzx eax, byte [esp + 0xf]
xor ecx, ecx
cmp dword [edx + 0x24], ecx
cmovne ecx, eax
test byte [edi + 0x2a], 0x20
mov byte [esp + 0xf], cl
je 0x453422
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x453422
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 + 0x28], edi
call fcn.00437950
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add ecx, edi
cmp dword [edx + 0x4c], ecx
push dword [esp + 0x38]
cmovg ecx, dword [edx + 0x4c]
mov dword [edx + 0x4c], ecx
mov edx, 0x66
push dword [eax + 0x2c]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.00437720
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
call fcn.00438550
push dword [esp + 0x54]
mov edx, 0x4a
mov ecx, esi
push ebx
call fcn.00437870
mov ebx, dword [ebp + 0x10]
mov edx, 0x4a
mov ecx, esi
lea eax, [ebx + 2]
push eax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 0x32]
push eax
call fcn.00437870
push 0xfffffffffffffffb
push 0x4f9564
push ebx
lea eax, [ebx + 1]
mov edx, 0x57
push eax
push 0
mov ecx, esi
call fcn.00437b60
mov eax, dword [esi]
add esp, 0x24
cmp byte [eax + 0x45], 0
jne 0x45327f
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 2
mov ebx, dword [esp + 0x14]
mov edx, 0x37
push ebx
mov ecx, esi
call fcn.00437800
add esp, 4
mov dword [esp + 0x58], eax
mov edx, 0x4a
mov ecx, esi
push dword [esp + 0x3c]
push 0
call fcn.00437870
mov eax, dword [esi + 0x20]
add esp, 8
mov dword [esp + 0x2c], eax
test edi, edi
jle 0x453526
mov ecx, esi
call fcn.00437e30
lea ecx, [edi*4]
mov ebx, eax
push 0
push ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], ebx
call fcn.00418890
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x4536d4
mov edx, 0xd
mov ecx, esi
call fcn.00437790
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
cmp edi, 1
jne 0x453328
cmp word [eax + 0x32], di
jne 0x453328
cmp byte [eax + 0x36], 0
je 0x453328
push ebx
push dword [esp + 0x24]
lea edx, [edi + 0x22]
mov ecx, esi
call fcn.00437870
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test edi, edi
jle 0x4533b9
mov edx, dword [eax + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ebx*4]
call fcn.00456ec0
push dword [esp + 0x3c]
mov edx, 0x4a
mov ecx, esi
push ebx
mov edi, eax
call fcn.00437870
push dword [esp + 0x38]
mov edx, 0x5e
mov ecx, esi
push ebx
push dword [esp + 0x24]
call fcn.00437720
mov eax, dword [esp + 0x34]
add esp, 0x14
add eax, ebx
mov edx, 0x24
mov ecx, esi
push 0xfffffffffffffffc
push edi
push eax
push 0
push dword [esp + 0x40]
call fcn.00437b60
mov ecx, dword [esp + 0x3c]
add esp, 0x14
mov dword [ecx + ebx*4], eax
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x4533a8
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x80
mov edi, dword [esp + 0x24]
inc ebx
mov eax, dword [esp + 0x10]
cmp ebx, edi
jl 0x453332
push dword [esp + 0x3c]
mov edx, 0x4a
mov ecx, esi
push edi
call fcn.00437870
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, esi
call fcn.004378e0
mov edx, dword [esp + 0x2c]
mov ecx, esi
lea edx, [edx - 1]
call fcn.00438170
mov ebx, dword [esp + 0x24]
xor edi, edi
test ebx, ebx
jle 0x4534b2
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x20]
dec ecx
mov edx, dword [eax + edi*4]
mov eax, dword [esi + 0x18]
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x24], eax
test edx, edx
jns 0x453413
lea edx, [eax - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x45343c
mov eax, 0x520b44
jmp 0x453445
test byte [edx + 0x38], 8
movzx ebx, word [edx + 0x34]
mov eax, dword [edx]
je 0x4531ca
movzx edi, word [edx + 0x32]
dec edi
jmp 0x4531cd
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x453474
mov eax, dword [esp + 0x20]
mov edx, 0x5e
add eax, edi
mov ecx, esi
push eax
push edi
push dword [esp + 0x1c]
call fcn.004376e0
add esp, 0xc
jmp 0x4534a9
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x5e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [ecx + 0xc], eax
inc edi
cmp edi, ebx
jl 0x4533f4
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4534ce
mov eax, dword [esp + 0x44]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x48]
dec eax
mov dword [edx + 0x60], eax
cmp dword [edi + 0x1c8], 0
je 0x4534ef
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.00418550
jmp 0x453522
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edi + 0x120]
jb 0x453519
cmp ecx, dword [edi + 0x124]
jae 0x453519
mov eax, dword [edi + 0x11c]
mov dword [ecx], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], ecx
jmp 0x453522
push ecx
call fcn.004184e0
add esp, 4
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
mov edx, 0x57
push 0xfffffffffffffffb
push 0x4fafb4
push edi
push dword [ebp + 0x10]
mov ecx, esi
push 1
call fcn.00437b60
mov eax, dword [esi]
add esp, 0x14
cmp byte [eax + 0x45], 0
jne 0x45355c
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 2
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x45357f
push 0
push dword [esp + 0x30]
mov edx, 7
mov ecx, esi
push ebx
call fcn.004376e0
add esp, 0xc
jmp 0x4535b2
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
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.00452f60
push 0
push 0x50517c
push edi
push 3
push dword [esp + 0x58]
mov edx, 0x60
mov ecx, esi
call fcn.00437b60
mov eax, dword [esi + 0x18]
add esp, 0x1c
mov ecx, dword [esi + 0x20]
mov ebx, dword [esp + 0x34]
cmp dword [eax + 0x58], ecx
jg 0x453607
push 0
push ebx
push dword [ebp + 0xc]
mov edx, 0x70
mov ecx, esi
call fcn.004376e0
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x453639
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x453658
push ebx
push edi
push edx
mov edx, 0x71
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x453683
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x71
mov byte [eax + ecx*4 + 3], 0
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]
cmp byte [eax + 0x45], 0
jne 0x453699
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 8
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esi + 0x20]
test ecx, ecx
jns 0x4536b1
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x4536c0
mov eax, 0x520b44
jmp 0x4536c9
mov eax, dword [esi + 4]
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 0x453190
mov ebx, dword [esp + 0x30]
test eax, eax
jne 0x4537a5
mov al, byte [esp + 0xf]
test al, al
je 0x4537a5
mov edi, dword [esp + 0x4c]
mov edx, 0x62
push edi
push dword [esp + 0x60]
mov ecx, esi
call fcn.00437870
push edi
mov edx, 0x16
mov ecx, esi
call fcn.00437800
add esp, 0xc
mov edx, 0x4d
mov ecx, esi
mov edi, eax
push dword [esp + 0x50]
push 0
call fcn.00437870
push 0
push 0x50517c
push ebx
push 3
push dword [esp + 0x58]
mov edx, 0x60
mov ecx, esi
call fcn.00437b60
add esp, 0x1c
mov edx, 0x70
mov ecx, esi
push dword [esp + 0x34]
push dword [ebp + 0xc]
call fcn.00437870
push dword [esp + 0x3c]
mov edx, 0x71
mov ecx, esi
push ebx
push dword [ebp + 0xc]
call fcn.00437720
mov eax, dword [esi]
add esp, 0x14
cmp byte [eax + 0x45], 0
jne 0x45379c
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 8
mov edx, edi
mov ecx, esi
call fcn.00438170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret