Function at 0x1004a250
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x101acb00
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 0x1004a593
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004a593
mov eax, 0x102386b8
test eax, eax
je 0x1004a593
push ebx
push edi
push eax
call fcn.100ecb78
add esp, 4
test eax, eax
je 0x1004a56b
mov ecx, 0x102c8130
call fcn.100cd690
mov ecx, 0x102c8130
call fcn.100cdbb0
mov edi, eax
test edi, edi
je 0x1004a56b
push edi
call fcn.100ecb78
add esp, 4
test eax, eax
je 0x1004a56b
mov ecx, 0x10236e78
call fcn.100031d0
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, 0x10236e78
call fcn.100033b0
mov ebx, eax
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1004a31e
push edi
push str.DealDateBase_2___s_
push 0x10200048
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
test ebx, ebx
jne 0x1004a56b
push 0x10237188
lea ecx, [esp + 0x40]
call fcn.101058a0
push 0x102386b8
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.10109120
mov eax, dword [0x102cb7c8]
add esp, 0xc
test eax, eax
je 0x1004a376
mov eax, dword [esp + 0x3c]
push eax
push str.DealDateBase_3___s_
push 0x10200048
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
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, 0x10236e78
call fcn.100033d0
test eax, eax
jne 0x1004a538
push 0x10237188
lea ecx, [esp + 0x18]
call fcn.101058a0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x34], 1
push ecx
mov ecx, 0x10236e78
call fcn.10003460
cmp eax, 0x64
jne 0x1004a528
add esi, 0x24
cmp ebp, dword [esp + 0x40]
je 0x1004a517
mov edx, dword [esp + 0x10]
push 0
push edx
mov ecx, 0x10236e78
call fcn.100034b0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push 1
push eax
mov ecx, 0x10236e78
call fcn.100034b0
mov ecx, dword [esp + 0x10]
push 2
push ecx
mov ecx, 0x10236e78
mov edi, eax
call fcn.100034b0
push eax
lea ecx, [esp + 0x18]
call fcn.101063f0
mov edx, dword [esp + 0x10]
push 3
push edx
mov ecx, 0x10236e78
call fcn.10003480
mov ebx, eax
mov dword [esp + 0x28], edx
test edi, edi
mov dword [esp + 0x24], ebx
je 0x1004a490
push edi
call fcn.100ecb78
mov ebp, eax
mov eax, dword [esi]
lea ebx, [esi + 4]
add esp, 4
cmp eax, ebx
je 0x1004a458
test eax, eax
je 0x1004a456
push eax
call fcn.1019a457
add esp, 4
mov dword [esi], ebx
cmp ebp, 0x104
jb 0x1004a473
lea eax, [ebp + ebp + 2]
push eax
call fcn.1019a42e
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x1004a488
mov ecx, dword [esi]
push ebp
push edi
push ecx
call fcn.100ecb95
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 0x1004a4b6
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.100ecb95
add esp, 0xc
cmp ebx, 0xffffffff
je 0x1004a4be
mov dword [esi - 0x24], ebx
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1004a4f4
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 0x10200048
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x28
mov ecx, dword [esp + 0x10]
inc ebp
push ecx
mov ecx, 0x10236e78
mov dword [esp + 0x1c], ebp
add esi, 0x230
call fcn.10003460
cmp eax, 0x64
je 0x1004a3c9
test ebp, ebp
jbe 0x1004a528
mov edx, dword [esp + 0x14]
push edx
call fcn.1004a840
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call fcn.10106110
jmp 0x1004a55a
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1004a55a
push str.DealDateBase_1
push 0x10200048
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.10106110
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x1004a580
push eax
mov ecx, 0x10236e78
call fcn.100034f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1004a593
push eax
mov ecx, 0x10236e78
call fcn.100034d0
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1004a5b6
push ebp
push str.DealDateBase____Count:__d_
push 0x10200048
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
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