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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
mov eax, edx
mov dword [esp + 8], ecx
push ebp
push esi
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
cmp dword [eax + 0x30], 0
push edi
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x34], 0
jle 0x10115ffe
lea ebx, [ecx + 0x24]
lea ebp, [eax + 0x78]
cmp dword [ebx], 0
jne 0x10115ffe
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10115fe9
cmp dword [ebp - 0x1c], 0
jne 0x10115a20
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0
jmp 0x10115fe9
mov eax, dword [eax]
mov edi, dword [ebp]
cdq
mov esi, eax
mov dword [esp + 0x38], edi
mov eax, dword [ebp - 4]
cdq
shl esi, 5
add eax, 0
mov dword [esp + 0x20], 0
adc edx, esi
mov dword [esp + 0x3c], 0
push edx
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
call fcn.1010f990
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
test esi, esi
je 0x10115fe1
cmp edi, dword [esi + 8]
jle 0x10115a7c
mov dword [ebx], 0x10b
jmp 0x10115f89
mov eax, dword [esi + 4]
xor edx, edx
mov dword [esp + 0x48], edx
cmp eax, dword [esp + 0x4c]
jbe 0x10115a9e
push eax
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10107b20
mov edx, dword [esp + 0x4c]
add esp, 4
lea eax, [edx + 4]
cmp eax, dword [esp + 0x4c]
jbe 0x10115abe
push eax
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10107b20
add esp, 4
test eax, eax
jne 0x10115ad0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov dword [eax + edx], ecx
add edx, 4
mov dword [esp + 0x48], edx
mov eax, dword [ebp + 0x20]
mov ecx, ebx
cdq
push edx
push eax
lea edx, [esp + 0x4c]
call fcn.10107bb0
mov eax, dword [ebp + 0x1c]
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], eax
test eax, eax
je 0x10115b3c
mov edi, dword [esp + 0x48]
lea ecx, [eax + edi]
cmp ecx, dword [esp + 0x4c]
jbe 0x10115b1e
push ecx
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10107b20
add esp, 4
test eax, eax
jne 0x10115b3c
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x48]
push dword [esp + 0x2c]
add eax, edi
push eax
call fcn.1012ad80
add esp, 0xc
add edi, dword [esp + 0x24]
mov dword [esp + 0x48], edi
jmp 0x10115b40
mov edi, dword [esp + 0x48]
mov eax, dword [esi]
mov ecx, dword [esp + 0x38]
add eax, ecx
mov esi, dword [esi + 8]
mov dword [esp + 0x38], eax
sub esi, ecx
je 0x10115b8e
lea ecx, [esi + edi]
cmp ecx, dword [esp + 0x4c]
jbe 0x10115b77
push ecx
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10107b20
mov edi, dword [esp + 0x4c]
add esp, 4
test eax, eax
jne 0x10115b8e
mov eax, dword [esp + 0x38]
push esi
push eax
mov eax, dword [esp + 0x4c]
add eax, edi
push eax
call fcn.1012ad80
add esp, 0xc
add edi, esi
mov dword [esp + 0x48], edi
cmp dword [ebx], 0
jne 0x10115ba6
mov ecx, dword [esp + 0x44]
mov eax, edi
shr eax, 8
mov byte [ecx + 2], al
mov al, byte [esp + 0x48]
mov byte [ecx + 3], al
lea eax, [edi + 9]
cmp eax, dword [esp + 0x4c]
jbe 0x10115bc6
push eax
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10107b20
mov edi, dword [esp + 0x4c]
add esp, 4
test eax, eax
jne 0x10115bd3
mov eax, dword [esp + 0x44]
mov byte [eax + edi], 4
inc edi
mov dword [esp + 0x48], edi
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 4]
jne 0x10115c7d
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp esi, edx
jge 0x10115c7d
mov ecx, dword [ebp + 4]
cmp ecx, dword [eax + 4]
jg 0x10115c7d
sub edx, esi
mov eax, edx
cdq
mov ecx, eax
mov esi, edx
mov eax, edi
cdq
sub eax, ecx
mov ecx, ebx
sbb edx, esi
sub eax, 5
sbb edx, 0
push edx
push eax
lea edx, [esp + 0x4c]
call fcn.10107bb0
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [ecx]
add edx, dword [ebp + 4]
mov esi, dword [ecx + 4]
mov dword [esp + 0x38], edx
sub esi, dword [ebp + 4]
je 0x10115c79
mov edi, dword [esp + 0x48]
lea eax, [esi + edi]
cmp eax, dword [esp + 0x4c]
jbe 0x10115c60
push eax
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10107b20
add esp, 4
test eax, eax
jne 0x10115c79
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
push esi
push edx
add eax, edi
push eax
call fcn.1012ad80
add esp, 0xc
add edi, esi
mov dword [esp + 0x48], edi
jmp 0x10115c7d
mov edi, dword [esp + 0x48]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx]
test eax, eax
jne 0x10115f85
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x30], 0
lea esi, [eax + 0x30]
jne 0x10115d78
mov eax, dword [eax]
push dword [eax + 8]
push dword [eax + 4]
push str.DELETE_FROM__q._q_data_WHERE_id___AND_id__
call fcn.10021540
add esp, 0xc
mov dword [esp + 0x24], eax
cmp dword [ebx], 0
jne 0x10115cfc
test eax, eax
je 0x10115cf4
mov ecx, dword [esp + 0x14]
mov edx, eax
push 0
push esi
push 0
mov ecx, dword [ecx]
push 0x85
push 0xffffffffffffffff
mov ecx, dword [ecx]
call fcn.10092a20
mov ecx, dword [esp + 0x28]
add esp, 0x14
add ecx, 0x30
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
jmp 0x10115d04
mov dword [ebx], 7
jmp 0x10115d6e
mov dword [esp + 0x28], esi
test eax, eax
je 0x10115d6e
cmp dword [0x10165b38], 0
je 0x10115d60
mov eax, dword [0x10168b88]
test eax, eax
je 0x10115d20
push eax
call dword [0x10165b88]
add esp, 4
mov esi, dword [esp + 0x24]
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10115d57
push eax
call dword [0x10165b90]
add esp, 4
mov esi, dword [esp + 0x14]
add esi, 0x30
jmp 0x10115d6e
push eax
call dword [0x10165b5c]
mov esi, dword [esp + 0x2c]
add esp, 4
mov eax, dword [ebx]
test eax, eax
jne 0x10115f85
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
add ecx, 1
adc eax, 0
push eax
push ecx
push 1
push dword [esi]
call fcn.1004b340
push dword [esp + 0x3c]
push dword [esp + 0x44]
push 2
push dword [esi]
call fcn.1004b340
push dword [esi]
call fcn.10049d90
add esp, 0x24
push dword [esi]
call fcn.10048d60
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x10115f85
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x2c], 0
lea esi, [eax + 0x2c]
jne 0x10115e9d
mov eax, dword [eax]
push dword [eax + 8]
push dword [eax + 4]
push str.REPLACE_INTO__q._q_data_id__block__VALUES_____
call fcn.10021540
add esp, 0xc
mov dword [esp + 0x28], eax
cmp dword [ebx], 0
jne 0x10115e28
test eax, eax
je 0x10115e20
mov ecx, dword [esp + 0x14]
mov edx, eax
push 0
push esi
push 0
mov ecx, dword [ecx]
push 0x85
push 0xffffffffffffffff
mov ecx, dword [ecx]
call fcn.10092a20
mov esi, dword [esp + 0x28]
add esp, 0x14
mov dword [ebx], eax
add esi, 0x2c
mov eax, dword [esp + 0x28]
jmp 0x10115e2e
mov dword [ebx], 7
jmp 0x10115e94
mov ecx, esi
test eax, eax
je 0x10115e94
cmp dword [0x10165b38], 0
je 0x10115e8a
mov eax, dword [0x10168b88]
test eax, eax
je 0x10115e4a
push eax
call dword [0x10165b88]
add esp, 4
mov esi, dword [esp + 0x28]
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10115e81
push eax
call dword [0x10165b90]
add esp, 4
mov esi, dword [esp + 0x14]
add esi, 0x2c
jmp 0x10115e94
push eax
call dword [0x10165b5c]
add esp, 4
cmp dword [ebx], 0
jne 0x10115f85
push dword [esp + 0x2c]
push dword [esp + 0x34]
push 1
push dword [esi]
call fcn.1004b340
mov eax, dword [esi]
add esp, 0x10
mov edx, 1
mov dword [esp + 0x24], eax
mov ecx, eax
call fcn.1004aed0
test eax, eax
jne 0x10115f4a
cmp dword [esp + 0x44], 0
mov eax, esi
je 0x10115f31
mov ecx, dword [esp + 0x24]
mov eax, edi
push 0
cdq
push 0
mov ecx, dword [ecx + 0x64]
push edx
mov edx, dword [esp + 0x50]
add ecx, 0x28
push eax
call fcn.10043090
mov edx, eax
add esp, 0x10
mov dword [esp + 0x40], edx
mov eax, esi
test edx, edx
je 0x10115f31
mov edi, dword [esp + 0x24]
mov ecx, dword [edi]
mov dword [ecx + 0x40], edx
call fcn.10022340
mov ecx, dword [edi]
mov dword [esp + 0x30], esi
cmp byte [ecx + 0x57], 0
jne 0x10115f24
mov eax, dword [esp + 0x14]
add eax, 0x2c
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x40]
call fcn.1001f000
mov eax, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10115f4a
push eax
call dword [0x10165b90]
add esp, 4
push dword [esi]
call fcn.10049d90
add esp, 4
push dword [esi]
call fcn.10048d60
mov esi, dword [esi]
add esp, 4
mov edx, 1
mov dword [ebx], eax
mov ecx, esi
call fcn.1004aed0
test eax, eax
jne 0x10115f85
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10115f85
push eax
call dword [0x10165b90]
add esp, 4
mov esi, dword [esp + 0x18]
cmp dword [0x10165b38], 0
je 0x10115fd7
mov eax, dword [0x10168b88]
test eax, eax
je 0x10115fa5
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10115fe1
push eax
call dword [0x10165b90]
jmp 0x10115fde
push esi
call dword [0x10165b5c]
add esp, 4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add ebp, 0x60
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [edx + 0x30]
jl 0x101159f0
lea ecx, [esp + 0x44]
call fcn.10107d50
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret