Function at 0x10115300
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 + 0x30], 0
jle 0x101158f8
lea esi, [ecx + 0x24]
lea ebp, [eax + 0x78]
cmp dword [esi], 0
jne 0x101158f8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x101158e3
cmp dword [ebp - 0x1c], 0
jne 0x10115370
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0
jmp 0x101158e3
mov eax, dword [eax]
mov ebx, dword [ebp]
cdq
mov edi, eax
mov dword [esp + 0x38], ebx
mov eax, dword [ebp - 4]
cdq
shl edi, 5
add eax, 0
mov dword [esp + 0x20], 0
adc edx, edi
mov dword [esp + 0x3c], 0
push edx
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.1010f4f0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x101158db
cmp ebx, dword [edi + 8]
jle 0x101153cc
mov dword [esi], 0x10b
jmp 0x10115883
mov eax, dword [edi + 4]
xor edx, edx
mov dword [esp + 0x48], edx
cmp eax, dword [esp + 0x4c]
jbe 0x101153ee
push eax
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.10107110
mov edx, dword [esp + 0x4c]
add esp, 4
lea eax, [edx + 4]
cmp eax, dword [esp + 0x4c]
jbe 0x1011540e
push eax
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.10107110
add esp, 4
test eax, eax
jne 0x10115420
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, esi
cdq
push edx
push eax
lea edx, [esp + 0x4c]
call fcn.101071a0
mov eax, dword [ebp + 0x1c]
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1011548c
mov ebx, dword [esp + 0x48]
lea ecx, [eax + ebx]
cmp ecx, dword [esp + 0x4c]
jbe 0x1011546e
push ecx
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.10107110
add esp, 4
test eax, eax
jne 0x1011548c
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x48]
push dword [esp + 0x38]
add eax, ebx
push eax
call fcn.1012be10
add esp, 0xc
add ebx, dword [esp + 0x24]
mov dword [esp + 0x48], ebx
jmp 0x10115490
mov ebx, dword [esp + 0x48]
mov eax, dword [edi]
mov ecx, dword [esp + 0x38]
add eax, ecx
mov edi, dword [edi + 8]
mov dword [esp + 0x38], eax
sub edi, ecx
je 0x101154de
lea ecx, [edi + ebx]
cmp ecx, dword [esp + 0x4c]
jbe 0x101154c7
push ecx
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.10107110
mov ebx, dword [esp + 0x4c]
add esp, 4
test eax, eax
jne 0x101154de
mov eax, dword [esp + 0x38]
push edi
push eax
mov eax, dword [esp + 0x4c]
add eax, ebx
push eax
call fcn.1012be10
add esp, 0xc
add ebx, edi
mov dword [esp + 0x48], ebx
cmp dword [esi], 0
jne 0x101154f6
mov ecx, dword [esp + 0x44]
mov eax, ebx
shr eax, 8
mov byte [ecx + 2], al
mov al, byte [esp + 0x48]
mov byte [ecx + 3], al
lea eax, [ebx + 9]
cmp eax, dword [esp + 0x4c]
jbe 0x10115516
push eax
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.10107110
mov ebx, dword [esp + 0x4c]
add esp, 4
test eax, eax
jne 0x10115523
mov eax, dword [esp + 0x44]
mov byte [eax + ebx], 4
inc ebx
mov dword [esp + 0x48], ebx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 4]
jne 0x101155cd
mov eax, dword [esp + 0x18]
mov edi, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edi, edx
jge 0x101155cd
mov ecx, dword [ebp + 4]
cmp ecx, dword [eax + 4]
jg 0x101155cd
sub edx, edi
mov eax, edx
cdq
mov ecx, eax
mov edi, edx
mov eax, ebx
cdq
sub eax, ecx
mov ecx, esi
sbb edx, edi
sub eax, 5
sbb edx, 0
push edx
push eax
lea edx, [esp + 0x4c]
call fcn.101071a0
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [ecx]
add edx, dword [ebp + 4]
mov edi, dword [ecx + 4]
mov dword [esp + 0x38], edx
sub edi, dword [ebp + 4]
je 0x101155c9
mov ebx, dword [esp + 0x48]
lea eax, [edi + ebx]
cmp eax, dword [esp + 0x4c]
jbe 0x101155b0
push eax
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.10107110
add esp, 4
test eax, eax
jne 0x101155c9
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
push edi
push edx
add eax, ebx
push eax
call fcn.1012be10
add esp, 0xc
add ebx, edi
mov dword [esp + 0x48], ebx
jmp 0x101155cd
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp dword [esi], 0
jne 0x1011587f
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x30], 0
lea edi, [eax + 0x30]
mov dword [esp + 0x24], edi
jne 0x101156aa
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.100212d0
add esp, 0xc
mov edi, eax
cmp dword [esi], 0
jne 0x10115641
test edi, edi
je 0x10115639
mov ecx, dword [esp + 0x14]
mov edx, edi
push 0
push dword [esp + 0x28]
mov ecx, dword [ecx]
push 0
push 0x85
push 0xffffffffffffffff
mov ecx, dword [ecx]
call fcn.100931a0
add esp, 0x14
mov dword [esi], eax
jmp 0x10115645
mov dword [esi], 7
jmp 0x1011569d
test edi, edi
je 0x1011569d
cmp dword [0x10165af8], 0
je 0x10115693
mov eax, dword [0x10168b40]
test eax, eax
je 0x10115661
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x1011569d
push eax
call dword [0x10165b50]
jmp 0x1011569a
push edi
call dword [0x10165b1c]
add esp, 4
cmp dword [esi], 0
jne 0x1011587f
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
add ecx, 1
adc eax, 0
push eax
push ecx
push 1
push dword [edi]
call fcn.1004b120
push dword [esp + 0x38]
push dword [esp + 0x40]
push 2
push dword [edi]
call fcn.1004b120
push dword [edi]
call fcn.10049b70
add esp, 0x24
push dword [edi]
call fcn.10048b40
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x1011587f
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x2c], 0
lea edi, [eax + 0x2c]
mov dword [esp + 0x24], edi
jne 0x101157bd
mov eax, dword [eax]
push dword [eax + 8]
push dword [eax + 4]
push str.REPLACE_INTO__q._q_data_id__block__VALUES_____
call fcn.100212d0
add esp, 0xc
mov edi, eax
cmp dword [esi], 0
jne 0x10115754
test edi, edi
je 0x1011574c
mov ecx, dword [esp + 0x14]
mov edx, edi
push 0
push dword [esp + 0x28]
mov ecx, dword [ecx]
push 0
push 0x85
push 0xffffffffffffffff
mov ecx, dword [ecx]
call fcn.100931a0
add esp, 0x14
mov dword [esi], eax
jmp 0x10115758
mov dword [esi], 7
jmp 0x101157b0
test edi, edi
je 0x101157b0
cmp dword [0x10165af8], 0
je 0x101157a6
mov eax, dword [0x10168b40]
test eax, eax
je 0x10115774
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x101157b0
push eax
call dword [0x10165b50]
jmp 0x101157ad
push edi
call dword [0x10165b1c]
add esp, 4
cmp dword [esi], 0
jne 0x1011587f
mov edi, dword [esp + 0x24]
push dword [esp + 0x28]
push dword [esp + 0x30]
push 1
push dword [edi]
call fcn.1004b120
mov eax, dword [edi]
add esp, 0x10
mov edx, 1
mov dword [esp + 0x24], eax
mov ecx, eax
call fcn.1004acb0
test eax, eax
jne 0x10115844
cmp dword [esp + 0x44], eax
je 0x1011582d
mov ecx, dword [esp + 0x24]
push eax
push eax
mov eax, ebx
mov ecx, dword [ecx + 0x64]
cdq
add ecx, 0x28
push edx
mov edx, dword [esp + 0x50]
push eax
call fcn.10042eb0
add esp, 0x10
mov dword [esp + 0x40], eax
test eax, eax
je 0x1011582d
mov ebx, dword [esp + 0x24]
mov edx, eax
mov ecx, dword [ebx]
mov dword [ecx + 0x40], eax
call fcn.10022010
mov ecx, dword [ebx]
mov edx, dword [esp + 0x40]
call fcn.1001ec40
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10115844
push eax
call dword [0x10165b50]
add esp, 4
push dword [edi]
call fcn.10049b70
add esp, 4
push dword [edi]
call fcn.10048b40
mov edi, dword [edi]
add esp, 4
mov edx, 1
mov dword [esi], eax
mov ecx, edi
call fcn.1004acb0
test eax, eax
jne 0x1011587f
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011587f
push eax
call dword [0x10165b50]
add esp, 4
mov edi, dword [esp + 0x18]
cmp dword [0x10165af8], 0
je 0x101158d1
mov eax, dword [0x10168b40]
test eax, eax
je 0x1011589f
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x101158db
push eax
call dword [0x10165b50]
jmp 0x101158d8
push edi
call dword [0x10165b1c]
add esp, 4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add ebp, 0x60
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [edx + 0x30]
jl 0x10115340
lea ecx, [esp + 0x44]
call fcn.10107340
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret