Function at 0x10026de0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5cbd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1011d1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
cmp dword [0x10122dfc], 0
je 0x10027193
cmp dword [edi + 4], 0
je 0x10027193
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x10027193
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
call fcn.10026370
mov dword [ebp - 4], 0
mov ecx, dword [0x10122dfc]
push 0
mov eax, dword [ecx]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push str.SELECT_MsgPrefixID_FROM_MsgPrefix_WHERE_MsgPrefixData____LIMIT_1_
push dword [edi + 4]
push ecx
mov ecx, esi
call dword [0x100f5330]
call esi
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10026ec7
mov edx, dword [0x10122dfc]
mov ecx, dword [ebx]
push 0
mov eax, dword [edx]
mov esi, dword [eax + 0x2c]
mov eax, dword [ebx + 4]
sub eax, ecx
push eax
push ecx
push 1
push dword [ebp - 0x10]
mov ecx, esi
push edx
call dword [0x100f5330]
call esi
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10026ec7
mov ecx, dword [0x10122dfc]
push dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x100f5330]
call esi
mov dword [ebp - 0x14], eax
cmp eax, 0x64
jne 0x10026f44
mov ecx, dword [0x10122dfc]
push dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x44]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x1002713b
mov ecx, dword [0x10122dfc]
push 0
push dword [ebp - 0x10]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x1002713b
mov ecx, dword [0x10122dfc]
push 0
push dword [ebp - 0x10]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0xd4]
mov ecx, esi
call dword [0x100f5330]
call esi
mov dword [ebx + 0x50], eax
xor edi, edi
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x58], 2
jmp 0x10027148
cmp eax, 0x65
jne 0x1002713e
mov ecx, dword [0x10122dfc]
push dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
jne 0x10026f84
mov dword [ebx + 0x58], 3
mov edi, 0xfe
jmp 0x10027148
mov ecx, dword [0x10122dfc]
push 0
mov eax, dword [ecx]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push str.INSERT_INTO_MsgPrefix_MsgPrefixData__JustCreatedFlag__VALUES________
push dword [edi + 4]
push ecx
mov ecx, esi
call dword [0x100f5330]
call esi
mov edx, eax
test edx, edx
jne 0x10027007
mov edx, dword [0x10122dfc]
mov ecx, dword [ebx]
push 0
mov eax, dword [edx]
mov esi, dword [eax + 0x2c]
mov eax, dword [ebx + 4]
sub eax, ecx
push eax
push ecx
push 1
push dword [ebp - 0x10]
mov ecx, esi
push edx
call dword [0x100f5330]
call esi
mov edx, eax
test edx, edx
jne 0x10027007
mov esi, dword [0x10122dfc]
push edx
mov eax, dword [esi]
mov edi, dword [eax + 0x34]
call fcn.100ce604
add esp, 4
mov ecx, edi
push edx
push eax
push 2
push dword [ebp - 0x10]
push esi
call dword [0x100f5330]
call edi
mov edi, dword [ebp - 0x18]
mov edx, eax
mov ecx, dword [0x10122dfc]
push edx
push dword [ebp - 0x10]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0xdc]
mov ecx, esi
call dword [0x100f5330]
call esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
test eax, eax
je 0x1002703b
cmp eax, 0x13
jne 0x1002713e
mov ecx, dword [0x10122dfc]
push 0
mov eax, dword [ecx]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push str.SELECT_MsgPrefixID_FROM_MsgPrefix_WHERE_MsgPrefixData____LIMIT_1_
push dword [edi + 4]
push ecx
mov ecx, esi
call dword [0x100f5330]
call esi
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100270b1
mov edx, dword [0x10122dfc]
mov ecx, dword [ebx]
push 0
mov eax, dword [edx]
mov esi, dword [eax + 0x2c]
mov eax, dword [ebx + 4]
sub eax, ecx
push eax
push ecx
push 1
push dword [ebp - 0x10]
mov ecx, esi
push edx
call dword [0x100f5330]
call esi
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100270b1
mov ecx, dword [0x10122dfc]
push dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x100f5330]
call esi
mov dword [ebp - 0x14], eax
cmp eax, 0x64
jne 0x10027128
mov ecx, dword [0x10122dfc]
push dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x44]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x1002713b
mov ecx, dword [0x10122dfc]
push 0
push dword [ebp - 0x10]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x1002713b
mov ecx, dword [0x10122dfc]
push 0
push dword [ebp - 0x10]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0xd4]
mov ecx, esi
call dword [0x100f5330]
call esi
mov dword [ebx + 0x50], eax
xor eax, eax
cmp dword [ebp - 0x18], eax
mov dword [ebx + 0x54], edx
setne al
inc eax
xor edi, edi
mov dword [ebx + 0x58], eax
jmp 0x10027148
cmp eax, 0x65
jne 0x1002713e
mov dword [ebx + 0x58], 3
mov edi, 0xfe
jmp 0x10027148
mov eax, dword [ebp - 0x14]
test eax, eax
mov edi, 0xc9
cmovne edi, eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x24], 0
jne 0x1002717d
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
test edx, edx
je 0x1002717d
mov eax, dword [0x10122dfc]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x100f5330]
call esi
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0xd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8