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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe8
mov eax, dword [0x1012b470]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 8]
fldz
mov dword [esp + 8], eax
fstp qword [esp + 0x70]
mov eax, dword [ebp + 0x10]
push esi
movzx esi, byte [ebx + 0x14]
mov dword [esp + 0x38], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [edi*4 + 4]
inc esi
mov dword [esp + 0x1c], edi
imul esi, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x38], ecx
call sym.MyService.dll_sqlite3_initialize
test eax, eax
jne 0x100cb6f0
mov edx, esi
or edx, eax
je 0x100cb6f0
push eax
push esi
call fcn.1000a580
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100cb709
mov eax, 7
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.100f9904
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ebx + 0x14]
lea edx, [edi*4 + 4]
imul ecx, edx
push esi
add ecx, eax
push 0
push eax
mov dword [esp + 0x20], ecx
call fcn.100ff5c0
movzx eax, byte [ebx + 0x14]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x18], ecx
cmp eax, ecx
jle 0x100cb792
mov esi, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
add ecx, eax
lea eax, [edx + ecx*4]
mov dword [esi], eax
xor eax, eax
test edi, edi
jle 0x100cb75e
mov ecx, dword [esi]
mov dword [ecx + eax*4], eax
inc eax
cmp eax, edi
jl 0x100cb754
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esi]
push eax
push ecx
push edi
push edx
push ebx
call fcn.100cb4e0
mov ecx, dword [esp + 0x30]
movzx eax, byte [ebx + 0x14]
add dword [esp + 0x38], edi
inc ecx
add esp, 0x18
add esi, 4
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x100cb73f
movzx eax, byte [ebx + 0x14]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x100cb9fc
mov eax, dword [ebx + 0x10]
fldz
movzx esi, byte [ebx + 0x17]
sub eax, 4
cdq
idiv esi
mov edx, eax
mov eax, 0x55555556
imul edx
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, edi
sub edx, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edx
fst qword [esp + 0x48]
mov dword [esp + 0x14], 0
fst qword [esp + 0x68]
mov dword [esp + 0x34], esi
fst qword [esp + 0x70]
cmp esi, edx
jg 0x100cb9c2
mov eax, dword [esp + 0xc]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
mov edi, dword [edx + edi*4 - 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x10]
shl ecx, 4
add ecx, eax
mov dword [esp + 0x64], ecx
lea ecx, [edi + edi*2]
shl ecx, 4
add ecx, eax
movzx eax, byte [ebx + 0x15]
add eax, 0xfffffffe
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
jmp 0x100cb834
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
mov ecx, 0xc
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x58]
dec eax
mov ecx, 0xc
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], 1
cmp eax, 1
jle 0x100cb8b3
fstp st(0)
lea esi, [edx + 4]
mov eax, dword [esi]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [esp + 0x10]
push ebx
lea edi, [esp + 0xbc]
cmp edx, dword [esp + 0x38]
jl 0x100cb894
lea edi, [esp + 0x8c]
call fcn.100caca0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
inc ecx
dec eax
add esp, 4
add esi, 4
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0x100cb86f
fldz
mov eax, dword [esp + 0x60]
fld st(0)
mov ecx, eax
mov dl, byte [ebx + 0x16]
test dl, dl
jne 0x100cb8d2
fld dword [esp + ecx*4 + 0xc4]
fld dword [esp + ecx*4 + 0xc0]
jmp 0x100cb8e0
fild dword [esp + ecx*4 + 0xc4]
fild dword [esp + ecx*4 + 0xc0]
sub ecx, 2
fsubp st(1)
faddp st(1)
jns 0x100cb8bb
fadd qword [esp + 0x48]
test dl, dl
jne 0x100cb901
fld dword [esp + eax*4 + 0x94]
fld dword [esp + eax*4 + 0x90]
jmp 0x100cb90f
fild dword [esp + eax*4 + 0x94]
fild dword [esp + eax*4 + 0x90]
sub eax, 2
fsubp st(1)
faddp st(2)
jns 0x100cb8ed
faddp st(1)
lea esi, [esp + 0x88]
lea edx, [esp + 0xb8]
mov eax, ebx
fstp qword [esp + 0x48]
call fcn.100cadf0
mov ecx, esi
fstp qword [esp + 0x20]
mov eax, ebx
call fcn.100cab90
fstp qword [esp + 0x80]
lea ecx, [esp + 0xb8]
mov eax, ebx
call fcn.100cab90
fadd qword [esp + 0x80]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x44]
je 0x100cba51
fld qword [esp + 0x68]
fld qword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x100cba66
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x100cb99d
fld qword [esp + 0x70]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x100cba68
fstp st(1)
fstp st(0)
fldz
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, dword [esp + 0x40]
jle 0x100cb830
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x100cb9d5
fld qword [esp + 0x78]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x100cb9e9
fld qword [esp + 0x48]
mov eax, dword [esp + 0x14]
fstp qword [esp + 0x78]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
movzx eax, byte [ebx + 0x14]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x100cb7cf
fstp st(0)
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax]
mov edi, dword [esp + 0x3c]
lea esi, [eax + eax*2]
shl esi, 4
add esi, dword [esp + 0x10]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x38]
mov ecx, edx
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + edx*4]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edx*4]
lea esi, [eax + eax*2]
shl esi, 4
add esi, dword [esp + 0x10]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x100cbad7
jmp 0x100cba84
fld qword [esp + 0x20]
mov dword [esp + 0x14], ecx
fstp qword [esp + 0x68]
fstp qword [esp + 0x70]
jmp 0x100cb9a1
fstp st(1)
fstp qword [esp + 0x68]
mov dword [esp + 0x14], ecx
fstp qword [esp + 0x70]
jmp 0x100cb9a1
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
cmp esi, edx
jl 0x100cbb2d
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + eax*4]
mov eax, dword [edx + esi*4]
lea edi, [eax + eax*2]
shl edi, 4
add edi, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, ebx
call fcn.100c8da0
add esp, 4
mov eax, edi
mov edi, dword [esp + 0x14]
push ebx
call fcn.100caca0
inc esi
add esp, 4
cmp esi, dword [esp + 0x1c]
jl 0x100cba80
cmp dword [0x1012c3e8], 0
je 0x100cbb3a
mov eax, dword [0x1013afb8]
test eax, eax
je 0x100cbaf3
push eax
call dword [0x1012c438]
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call dword [0x1012c414]
mov ecx, dword [esp + 0x10]
sub dword [0x1013af50], eax
dec dword [0x1013af74]
add esp, 4
push ecx
call dword [0x1012c40c]
mov eax, dword [0x1013afb8]
add esp, 4
test eax, eax
je 0x100cbb48
push eax
call dword [0x1012c440]
jmp 0x100cbb45
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
jmp 0x100cba9c
mov edx, dword [esp + 0xc]
push edx
call dword [0x1012c40c]
add esp, 4
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100f9904
mov esp, ebp
pop ebp
ret