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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x10291210]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
mov ebx, edx
mov eax, dword [ebx]
push esi
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
cmp dword [ebx + 0x10], esi
jne 0x102035e3
mov edi, dword [ecx]
mov eax, dword [edi + 0x20]
cmp eax, esi
je 0x1020353f
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x10], eax
jmp 0x10203547
mov dword [esp + 0x10], 0x3b9aca00
mov ecx, 0x2400
mov ebx, 2
test word [edi + 8], cx
jne 0x1020355c
cmp dword [edi + 0x18], esi
je 0x10203563
mov eax, edi
call fcn.10141d40
xor edx, edx
mov ecx, 0x10275ad6
mov dword [edi + 0x10], ecx
cmp edx, 0x101209d0
jne 0x102035bc
mov eax, dword [edi + 0x20]
mov dword [edi + 0x14], ecx
cmp eax, esi
je 0x102035ad
cmp dword [eax + 0x15c], ecx
jbe 0x102035ad
cmp dword [eax + 0x154], ecx
ja 0x10203599
mov eax, 0x80
mov dword [edi + 0x18], eax
jmp 0x102035c4
cmp dword [eax + 0x158], ecx
ja 0x102035ad
movzx eax, word [eax + 0x12e]
mov dword [edi + 0x18], eax
jmp 0x102035c4
push ecx
call dword [0x10292454]
add esp, 4
mov dword [edi + 0x18], eax
jmp 0x102035c4
mov dword [edi + 0x24], esi
mov ebx, 0x802
mov dword [edi + 0xc], esi
mov word [edi + 8], bx
mov byte [edi + 0xa], 1
cmp dword [esp + 0x10], esi
jge 0x10203a15
mov eax, dword [esp + 0x24]
push eax
jmp 0x10203a0d
xor eax, eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
push esi
mov eax, ebx
call fcn.10131b80
mov edi, eax
add esp, 8
cmp edi, esi
jne 0x10203751
mov eax, dword [esp + 0x44]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov dword [esp + 0x78], eax
call sym.SQLite.Interop.dll_sqlite3_initialize
test eax, eax
jne 0x1020364d
mov ecx, dword [esp + 0x78]
mov edx, ecx
or edx, eax
je 0x1020364d
push eax
push ecx
call fcn.10145440
add esp, 8
jmp 0x1020364f
xor eax, eax
mov dword [esp + 0x60], eax
cmp eax, esi
jne 0x10203661
mov edi, 7
jmp 0x10203751
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x20], esi
cmp dword [edx + 0x18], esi
jle 0x10203751
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x50], esi
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
push ecx
cmp eax, 5
je 0x102036f9
mov eax, dword [esi + 0xc]
push fcn.101e44b0
lea edx, [esp + 0x18]
push edx
push eax
call fcn.10119400
add esp, 0x10
test eax, eax
jne 0x10203704
cmp dword [esp + 0x18], 2
je 0x10203704
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x48]
push ecx
push fcn.101e44b0
lea edx, [esp + 0x18]
push edx
push eax
call fcn.10119400
add esp, 0x10
jmp 0x10203704
push 0
push esi
call fcn.101e44b0
add esp, 0xc
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 0xc]
inc eax
push eax
push edx
mov dword [esp + 0x18], eax
call sym.SQLite.Interop.dll_sqlite3_column_text
mov ecx, dword [ebx + 0xc]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call sym.SQLite.Interop.dll_sqlite3_column_bytes
add esp, 0x10
test esi, esi
jne 0x102037f7
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
push edx
push eax
call sym.SQLite.Interop.dll_sqlite3_column_type
add esp, 8
cmp eax, 5
je 0x10203956
lea edi, [esi + 7]
xor esi, esi
mov eax, dword [esp + 0x60]
push eax
call sym.SQLite.Interop.dll_sqlite3_free
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 0xfc]
add esp, 4
cmp ebx, esi
je 0x102037b8
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], ecx
cmp eax, esi
je 0x1020378f
push eax
call dword [0x10292478]
mov ecx, dword [esp + 0x20]
add esp, 4
mov eax, ebx
call fcn.101364b0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x102037ab
push eax
call dword [0x10292480]
add esp, 4
mov ecx, dword [esp + 0x38]
push ecx
call sym.SQLite.Interop.dll_sqlite3_finalize
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [edx + 0xfc], esi
cmp edi, esi
je 0x102039e8
mov eax, dword [esp + 0x24]
push edi
push eax
call sym.SQLite.Interop.dll_sqlite3_result_error_code
mov ecx, dword [esp + 0x74]
push ecx
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.100fd740
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx + 0x24]
push ecx
lea ebx, [esp + 0x3c]
mov ecx, eax
mov edx, esi
call fcn.10119ed0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1020374f
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x88]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x10203932
jmp 0x10203860
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x18], closesocket
test eax, eax
jle 0x10203937
mov ecx, dword [esp + 0x60]
add ecx, 4
mov esi, eax
nop
cmp dword [ecx - 4], 0
je 0x10203898
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
cmp eax, dword [esp + 0x18]
jge 0x10203898
mov dword [esp + 0x18], eax
lea ebx, [ecx - 4]
add ecx, 0xc
dec esi
jne 0x10203880
test ebx, ebx
je 0x10203937
mov eax, dword [ebx]
mov cl, byte [eax]
test cl, 0xfe
jne 0x102038b3
mov dword [ebx], esi
jmp 0x102038e0
test cl, cl
jns 0x102038c2
lea esi, [esp + 0x40]
call fcn.1011a3b0
jmp 0x102038ce
movzx ecx, cl
mov dword [esp + 0x40], ecx
mov eax, 1
mov edx, dword [esp + 0x40]
add dword [ebx], eax
add edx, 0xfffffffe
add dword [ebx + 4], edx
lea ebx, [ebx]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x28], eax
jge 0x10203972
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x88]
push edx
mov edx, dword [ecx + 0x14]
push eax
call edx
mov edi, eax
add esp, 0x18
test edi, edi
je 0x102038e0
cmp edi, 0x65
je 0x102039d0
test edi, edi
je 0x10203860
cmp edi, 0x65
jne 0x10203939
xor edi, edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x10]
push edx
call ecx
add esp, 4
test edi, edi
jne 0x1020374f
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x20], eax
cmp eax, dword [edx + 0x18]
jl 0x10203684
jmp 0x10203751
test edi, edi
jne 0x10203921
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
sub ebx, dword [esp + 0x60]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, 0x2aaaaaab
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
push str._d__d__d__d
lea edx, [esp + 0x94]
push edx
push 0x40
call sym.SQLite.Interop.dll_sqlite3_snprintf
add esp, 0x1c
lea eax, [esp + 0x80]
push 0xffffffffffffffff
push eax
lea ebx, [esp + 0x74]
call fcn.10201280
add esp, 8
mov edi, eax
jmp 0x1020392a
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x28], 0
jne 0x10203937
mov edi, 0x10b
jmp 0x10203939
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x24]
push 1
push edx
mov edx, dword [esi]
dec ecx
mov eax, sym.SQLite.Interop.dll_sqlite3_free
call fcn.1016d440
add esp, 8
cmp eax, 0x12
jne 0x10203a15
push esi
call sym.SQLite.Interop.dll_sqlite3_result_error_toobig
add esp, 4
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100fd740
mov esp, ebp
pop ebp
ret