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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x5c]
push ebx
mov dword [esp + 0x18], eax
add eax, 1
push ebp
mov ebp, dword [esp + 0x54]
mov ecx, dword [ebp]
mov dword [esp + 0x2c], eax
add eax, 1
push esi
push edi
mov edi, eax
mov dword [esp + 0x2c], edi
add edi, 1
mov ebx, edi
add edi, 1
mov dword [esp + 0x30], edi
add edi, 1
mov dword [esp + 0x3c], edi
add edi, 1
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x38], edi
add edi, 1
cmp eax, edi
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x6c], edi
jg 0x47d5dd
mov eax, edi
push ebp
mov dword [ebp + 0x4c], eax
call fcn.00464060
mov esi, eax
add esp, 4
test esi, esi
je 0x47da60
mov eax, dword [esp + 0x60]
test eax, eax
je 0x47da60
cmp dword [eax + 0x20], 0
je 0x47da60
mov edx, dword [eax]
push 7
push str.sqlite_
push edx
call fcn.0045b020
add esp, 0xc
test eax, eax
je 0x47da60
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.00442960
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x68]
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
push ebp
call fcn.00481160
add esp, 0x1c
test eax, eax
jne 0x47da60
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x28]
push ecx
push 0
push edx
push eax
push ebp
call fcn.0045d420
mov eax, dword [esp + 0x84]
mov ecx, dword [ebp + 0x48]
mov edx, eax
add eax, 1
mov dword [esp + 0x2c], eax
add eax, 1
add esp, 0x14
cmp ecx, eax
mov dword [esp + 0x54], edx
jle 0x47d69e
mov eax, ecx
mov ecx, dword [esp + 0x60]
push 0x32
push ecx
mov dword [ebp + 0x48], eax
mov eax, dword [esp + 0x30]
push eax
push edx
push ebp
call fcn.00485000
mov ebp, dword [esp + 0x74]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x44]
push 0
push ecx
push 0
push edx
push 0
push 0x61
push esi
call fcn.0045a660
mov eax, dword [ebp + 8]
add esp, 0x30
test eax, eax
mov dword [esp + 0x14], eax
je 0x47d9ce
jmp 0x47d6e7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x47d6f7
cmp ecx, eax
jne 0x47d9bf
cmp dword [eax + 0x24], 0
jne 0x47d702
mov byte [esp + 0x13], 0
movzx ebp, word [eax + 0x32]
mov ecx, dword [esp + 0x20]
lea eax, [ebp*4 + 4]
push eax
push ecx
call fcn.0043fd50
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
je 0x47d9bb
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x38]
and dl, 3
cmp dl, 2
jne 0x47d744
mov eax, dword [esp + 0x60]
test byte [eax + 0x2c], 0x20
je 0x47d744
mov eax, dword [eax]
jmp 0x47d746
mov eax, dword [ecx]
push 0
push eax
mov eax, dword [esp + 0x44]
push 0
push eax
push 0
push 0x61
push esi
call fcn.0045a660
lea eax, [edi + ebp]
mov edi, dword [esp + 0x78]
mov ecx, dword [edi + 0x4c]
add esp, 0x1c
cmp ecx, eax
jle 0x47d76d
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x4c], eax
mov eax, dword [edx + 0x2c]
push eax
push ecx
push 0x32
push esi
call fcn.00457de0
mov edx, dword [esp + 0x28]
push edx
push edi
call fcn.00458560
mov edi, dword [esp + 0x5c]
push edi
lea eax, [ebp + 1]
push eax
push 0x17
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x60]
push ecx
push edi
push 0
push 1
push esi
call fcn.00457de0
add esp, 0x40
push 0xfffffffffffffffb
push 0x52d2a0
push 0xffffffffffffffff
push esi
call fcn.00458470
push 1
push esi
call fcn.00458230
mov edx, dword [esp + 0x30]
push edx
push 0x67
push esi
call fcn.00457e90
mov dword [esp + 0x74], eax
mov eax, edi
push eax
push 0
push 0x17
push esi
call fcn.00457ef0
push 0x10
push esi
call fcn.00457e40
push esi
mov dword [esp + 0x88], eax
call fcn.004580e0
add esp, 0x40
xor edi, edi
test ebp, ebp
mov dword [esp + 0x4c], eax
jle 0x47d882
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx + edi*4]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call fcn.0045e540
mov edx, dword [esp + 0x34]
push edx
push edi
push 0x17
push esi
mov dword [esp + 0x5c], eax
call fcn.00457ef0
mov eax, dword [esp + 0x30]
push ebx
push edi
push eax
push 0x2b
push esi
call fcn.00457de0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x98]
push 0xfffffffffffffffc
push ecx
lea eax, [edi + edx]
push eax
push 0
push ebx
push 0x4e
push esi
call fcn.0045a660
mov ecx, dword [esp + 0x64]
add esp, 0x48
push 0x80
push esi
mov dword [ecx + edi*4], eax
call fcn.00458230
add edi, 1
add esp, 8
cmp edi, ebp
jl 0x47d810
mov edx, dword [esp + 0x2c]
push edx
push ebp
push 0x17
push esi
call fcn.00457ef0
push 0x10
push esi
call fcn.00457e40
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
push edx
push esi
mov dword [ecx + ebp*4], eax
call fcn.00458250
add esp, 0x20
xor edi, edi
test ebp, ebp
jle 0x47d8e1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + edi*4]
push ecx
push esi
call fcn.00458250
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x20]
lea eax, [edi + edx]
push eax
push edi
push ecx
push 0x2b
push esi
call fcn.00457de0
add edi, 1
add esp, 0x1c
cmp edi, ebp
jl 0x47d8b3
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + ebp*4]
push edx
push esi
call fcn.00458250
mov ebp, dword [esp + 0x3c]
push ebx
push ebp
push 1
push 1
push esi
call fcn.00457de0
push 0xfffffffffffffffb
push 0x52d2c4
push 0xffffffffffffffff
push esi
call fcn.00458470
push 2
push esi
call fcn.00458230
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
push 9
push esi
call fcn.00457ef0
mov edx, dword [esp + 0x7c]
add esp, 0x44
push edx
push ebp
push 0
push 1
push esi
call fcn.00457de0
push 0xfffffffffffffffb
push 0x52d2e8
push 0xffffffffffffffff
push esi
call fcn.00458470
push 1
push esi
call fcn.00458230
mov eax, dword [esp + 0x5c]
push 0
push 0x52d334
push ebx
push 3
push eax
push 0x2d
push esi
call fcn.0045a660
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0xb0]
add esp, 0x48
push ecx
push ebp
push 0x43
push esi
call fcn.00457ef0
mov edx, dword [esp + 0x34]
push edx
push ebx
push ebp
push 0x44
push esi
call fcn.00457de0
push 8
push esi
call fcn.00458230
mov eax, dword [esp + 0x7c]
push eax
push esi
call fcn.00458250
mov ecx, dword [esp + 0x54]
push edi
push ecx
call fcn.0043f760
mov edi, dword [esp + 0xa8]
add esp, 0x3c
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x47d6e3
cmp dword [esp + 0x64], 0
jne 0x47da60
cmp byte [esp + 0x13], 0
je 0x47da60
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
push edi
push edx
push 0x2e
push esi
call fcn.00457ef0
push edi
push 0x2a
push esi
call fcn.00457e90
mov edi, eax
mov eax, dword [esp + 0x58]
push eax
push 0
push 0x1a
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x5c]
push 0
push 0x52d334
push ebx
push 3
push ecx
push 0x2d
push esi
call fcn.0045a660
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0xb0]
add esp, 0x48
push edx
push ebp
push 0x43
push esi
call fcn.00457ef0
mov eax, dword [esp + 0x34]
push eax
push ebx
push ebp
push 0x44
push esi
call fcn.00457de0
push 8
push esi
call fcn.00458230
push edi
push esi
call fcn.00458250
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret