Function at 0x1000d636
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xc
call fcn.1001f45c
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x100a9775
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x100a99f1
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push str._AND_user_id__
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.platform__
mov ecx, 5
call fcn.10001589
add esp, 0x14
mov dword [ebp - 0x1c], eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, str.platform_replace
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000d706
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000d716
push ebx
call fcn.1001f456
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000d82b
push dword [ebp + 0x10]
call fcn.1000945f
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x14]
call fcn.1000945f
mov dword [ebp - 0x20], eax
push 0x100aab86
mov ebx, dword [ebp + 0x30]
push dword [ebx]
push 0x100aa260
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push 0x100aa260
mov ebx, dword [ebp + 0x28]
push dword [ebx]
push str._0000_00_00_00:00:00_
mov ebx, dword [ebp + 0x24]
push dword [ebx]
push 0x100aaba3
mov ebx, dword [ebp + 0x20]
push dword [ebx]
push 0x100aa260
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 0x100aa260
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push 0x100aa260
push dword [ebp - 0x20]
push 0x100aa260
push dword [ebp - 0x1c]
push 0x100aa260
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x100aa260
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.INSERT_INTO_platform_replace_VALUES__DATETIME_NOW_LOCALTIME__
mov ecx, 0x17
call fcn.10001589
add esp, 0x5c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000d7cb
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000d7db
push ebx
call fcn.1001f456
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000d7ef
push ebx
call fcn.1001f456
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x1000d81f
mov dword [ebp - 0xc], 0xc8
jmp 0x1000d826
mov dword [ebp - 0xc], 0x66
jmp 0x1000d832
mov dword [ebp - 0xc], 0x65
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp - 0xc], 0xc8
jne 0x1000dc05
push 0x80000301
push 0
push 5
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1000d87b
mov eax, 0x100a9705
push eax
push 2
mov ebx, 0x1001f6e0
call fcn.1001f462
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push str.jdlm_
push dword [ebp - 0x1c]
call fcn.10001004
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000d8bf
push ebx
call fcn.1001f456
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x1000d8d4
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.10008c5e
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x100a98bb
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push str._AND_user_id__
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.SELECT_state_FROM_platform_replace_WHERE_platform__
mov ecx, 5
call fcn.10001589
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000d9e8
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1000d9f8
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x1000da08
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1000da18
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1000da28
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000da38
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000da48
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000da58
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000da68
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1000da78
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000da88
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000da98
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000daa8
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000dab8
push ebx
call fcn.1001f456
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x100aac30
push dword [ebp - 0x10]
call fcn.10001004
add esp, 8
cmp eax, 0
jne 0x1000db36
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.10002d45
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.1000dc55
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000db19
push ebx
call fcn.1001f456
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 1
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str._code
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000db6f
push ebx
call fcn.1001f456
add esp, 4
cmp dword [ebp - 0x24], 0xc8
je 0x1000dc05
mov dword [ebp - 0xc], 0x67
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x100a99f1
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push str._AND_user_id__
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.DELETE_FROM_platform_replace_WHERE_platform__
mov ecx, 5
call fcn.10001589
add esp, 0x14
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000dbea
push ebx
call fcn.1001f456
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0x101966fc
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [ebp - 0xc]
jmp 0x1000dc0d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000dc1e
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000dc2e
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000dc3e
push ebx
call fcn.1001f456
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.1001f456
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x2c