Function at 0x493b5a
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0x120]
mov dword [esp], eax
call fcn.0066643c
mov dword [ebp - 0x64], vtable.seMySQL.0
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 1
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0xc]
test al, al
je 0x493e3f
mov dword [esp], 0
call sub.msvcrt.dll_time
lea esi, [eax - 0x15180]
mov dword [esp + 4], str.SELECT__id__FROM__accounts__WHERE__lastday___
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701bc0
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x114]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0070479c
jmp 0x493c1a
test ebx, ebx
je 0x493e3f
lea edi, [ebp - 0x28]
lea esi, [ebp - 0x30]
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x21]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d554f
mov dword [esp], edi
call fcn.007041ec
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [ebp - 0x12c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.0048c064
sub esp, 4
lea eax, [ebp - 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00493828
jmp 0x493c9d
mov dword [ebp - 0x54], fcn.00666290
mov dword [esp], esi
call fcn.0070534c
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [esp], esi
call fcn.0070534c
jmp 0x493cde
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x493cfa
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0070479c
jmp 0x493d16
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x493d32
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0070479c
jmp 0x493d51
mov dword [esp], edi
call fcn.0070479c
jmp 0x493d62
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x14]
test al, al
jne 0x493c28
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
lea eax, [ebp - 0x19]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebp - 0x20]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.0070342c
mov eax, dword [ebp - 0xf4]
test al, 3
jne 0x493dc1
mov ebx, 0
jmp 0x493dca
mov eax, dword [ebp - 0xf0]
mov ebx, dword [eax - 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x114]
mov dword [esp], eax
call fcn.00717e3c
jmp 0x493dff
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x493e10
cmp dword [ebp - 0x5c], 1
je 0x493e1a
mov bl, 0
jmp 0x493e41
mov dword [ebp - 0x5c], 2
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x14]
mov bl, al
jmp 0x493e41
mov bl, 0
mov dword [ebp - 0x64], vtable.seMySQL.0
cmp dword [ebp - 0x5c], 1
jne 0x493e73
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x10]
jmp 0x493e73
lea eax, [ebp - 0x120]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret