Function at 0x10049ae0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x101a9720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebp, ebp
test esi, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 8], ebp
je 0x10049e23
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10049e23
mov eax, 0x10233908
test eax, eax
je 0x10049e23
push ebx
push edi
push eax
call fcn.100e9a88
add esp, 4
test eax, eax
je 0x10049dfb
mov ecx, 0x102a96e8
call fcn.100cc8d0
mov ecx, 0x102a96e8
call fcn.100ccf20
mov edi, eax
test edi, edi
je 0x10049dfb
push edi
call fcn.100e9a88
add esp, 4
test eax, eax
je 0x10049dfb
mov ecx, 0x102320a8
call fcn.10003180
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, 0x102320a8
call fcn.10003360
mov ebx, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x10049bae
push edi
push str.DealDateBase_2___s_
push 0x101fbf40
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
test ebx, ebx
jne 0x10049dfb
push 0x102323b8
lea ecx, [esp + 0x40]
call fcn.101027a0
push 0x10233908
lea edx, [esp + 0x40]
push str.SELECT_T1.ip_T1.msg_T1.date_T1.msgtype__t_t_t_t_t_tFROM_record_as_T1__t_t_t_t_t_tWHERE_T1.theirmac___T1.mymac_AND_trim_T1.ip_____AND_T1.date____s
push edx
mov dword [esp + 0x40], ebx
call fcn.10106020
mov eax, dword [0x102acd68]
add esp, 0xc
test eax, eax
je 0x10049c06
mov eax, dword [esp + 0x3c]
push eax
push str.DealDateBase_3___s_
push 0x101fbf40
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0xffffffffffffffff
push edx
push eax
mov ecx, 0x102320a8
call fcn.10003380
test eax, eax
jne 0x10049dc8
push 0x102323b8
lea ecx, [esp + 0x18]
call fcn.101027a0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x34], 1
push ecx
mov ecx, 0x102320a8
call fcn.10003410
cmp eax, 0x64
jne 0x10049db8
add esi, 0x24
cmp ebp, dword [esp + 0x40]
je 0x10049da7
mov edx, dword [esp + 0x10]
push 0
push edx
mov ecx, 0x102320a8
call fcn.10003460
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push 1
push eax
mov ecx, 0x102320a8
call fcn.10003460
mov ecx, dword [esp + 0x10]
push 2
push ecx
mov ecx, 0x102320a8
mov edi, eax
call fcn.10003460
push eax
lea ecx, [esp + 0x18]
call fcn.101032f0
mov edx, dword [esp + 0x10]
push 3
push edx
mov ecx, 0x102320a8
call fcn.10003430
mov ebx, eax
mov dword [esp + 0x28], edx
test edi, edi
mov dword [esp + 0x24], ebx
je 0x10049d20
push edi
call fcn.100e9a88
mov ebp, eax
mov eax, dword [esi]
lea ebx, [esi + 4]
add esp, 4
cmp eax, ebx
je 0x10049ce8
test eax, eax
je 0x10049ce6
push eax
call fcn.10197127
add esp, 4
mov dword [esi], ebx
cmp ebp, 0x104
jb 0x10049d03
lea eax, [ebp + ebp + 2]
push eax
call fcn.101970fe
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x10049d18
mov ecx, dword [esi]
push ebp
push edi
push ecx
call fcn.100e9aa5
mov edx, dword [esi]
add esp, 0xc
mov word [edx + ebp*2], 0
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10049d46
lea eax, [esi - 0x20]
xor edx, edx
mov edi, eax
push 0xf
push ecx
push eax
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov dword [edi + 0xc], edx
call fcn.100e9aa5
add esp, 0xc
cmp ebx, 0xffffffff
je 0x10049d4e
mov dword [esi - 0x24], ebx
mov eax, dword [0x102acd68]
test eax, eax
je 0x10049d84
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push eax
push ebx
lea edx, [esi + 4]
push ecx
lea eax, [esi - 0x20]
push edx
push eax
push ebp
push str.DealDateBase_4__i_d____s____s____s____d_
push 0x101fbf40
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x28
mov ecx, dword [esp + 0x10]
inc ebp
push ecx
mov ecx, 0x102320a8
mov dword [esp + 0x1c], ebp
add esi, 0x230
call fcn.10003410
cmp eax, 0x64
je 0x10049c59
test ebp, ebp
jbe 0x10049db8
mov edx, dword [esp + 0x14]
push edx
call fcn.1004a0d0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call fcn.10103010
jmp 0x10049dea
mov eax, dword [0x102acd68]
test eax, eax
je 0x10049dea
push str.DealDateBase_1
push 0x101fbf40
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.10103010
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x10049e10
push eax
mov ecx, 0x102320a8
call fcn.100034a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10049e23
push eax
mov ecx, 0x102320a8
call fcn.10003480
mov eax, dword [0x102acd68]
test eax, eax
je 0x10049e46
push ebp
push str.DealDateBase____Count:__d_
push 0x101fbf40
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov ecx, dword [esp + 0x24]
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 8