Function at 0x54bd1a
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2fc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x164], 0x80c9e4
mov dword [ebp - 0x160], 0x994580
lea edx, [ebp - 0x18]
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x158], 0x54c0b2
mov dword [ebp - 0x154], esp
lea eax, [ebp - 0x17c]
mov dword [esp], eax
call fcn.0080f6e4
mov dword [ebp - 0x178], 0xffffffff
call fcn.0047a7e2
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.00815f44
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x178], 0x3a
call fcn.00939a94
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
mov dword [esp], 0x9f1940
mov dword [ebp - 0x178], 0x39
call fcn.008b5758
jmp 0x54be73
mov dword [ebp - 0xe8], vtable.seMySQL.0
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], 1
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x178], 0x37
call eax
test al, al
jne 0x54c3eb
mov dword [ebp - 0xe8], vtable.seMySQL.0
cmp dword [ebp - 0xe0], 1
jne 0x54bedc
mov eax, dword [ebp - 0xe4]
mov edx, dword [eax]
mov dword [esp], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x178], 0x38
call eax
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x138]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b62c5
lea eax, [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x178], 4
call fcn.0092bb18
lea edx, [ebp - 0x148]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x178], 3
call fcn.00939554
jmp 0x54c02d
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x2f4], eax
sub eax, 0xc
mov dword [ebp - 0x2f0], eax
lea edx, [ebp - 0x148]
mov dword [esp + 4], edx
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x2f0], 0x9aba1c
je 0x54c2f4
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x2f4]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x178], 1
call fcn.00815de4
test eax, eax
jg 0x54c2f4
lea edx, [ebp - 0x128]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x2f0]
mov dword [esp], eax
call fcn.00929958
jmp 0x54c2f4
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x178], 5
call fcn.008b57ec
jmp 0x54c358
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x178], 6
call fcn.00939e54
jmp 0x54c3b7
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x178], 0xffffffff
call fcn.00816174
mov dword [ebp - 0x180], 0
jmp 0x54dfe3
mov dword [esp], 0
call sub.msvcrt.dll_time
sub eax, 0x15180
mov dword [ebp - 0x194], eax
mov dword [esp + 4], str.SELECT__id__FROM__accounts__WHERE__lastday___
lea eax, [ebp - 0xd0]
mov dword [esp], eax
mov dword [ebp - 0x178], 0x37
call fcn.00987374
mov edx, dword [ebp - 0x194]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285b8
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x188]
mov eax, dword [edx]
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x188]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x178], 0x36
call eax
jmp 0x54c552
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x1ac], edx
sub edx, 0xc
mov dword [ebp - 0x1a8], edx
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1a8], 0x9aba1c
je 0x54c5f9
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1ac]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x178], 0x34
call fcn.00815de4
test eax, eax
jg 0x54c5f9
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1a8]
mov dword [esp], edx
call fcn.00929958
jmp 0x54c5f9
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922348
cmp dword [ebp - 0x198], 0
jne 0x54c93d
mov dword [ebp - 0xe8], vtable.seMySQL.0
cmp dword [ebp - 0xe0], 1
jne 0x54c64f
mov eax, dword [ebp - 0xe4]
mov edx, dword [eax]
mov dword [esp], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x178], 0x38
call eax
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x138]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b62c5
lea eax, [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x178], 0xa
call fcn.0092bb18
lea edx, [ebp - 0x148]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x178], 9
call fcn.00939554
jmp 0x54c7a0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x2e0], eax
sub eax, 0xc
mov dword [ebp - 0x2dc], eax
lea edx, [ebp - 0x148]
mov dword [esp + 4], edx
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x2dc], 0x9aba1c
je 0x54c846
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x2e0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x178], 7
call fcn.00815de4
test eax, eax
jg 0x54c846
lea edx, [ebp - 0x128]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x2dc]
mov dword [esp], eax
call fcn.00929958
jmp 0x54c846
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x178], 0xb
call fcn.008b57ec
jmp 0x54c8aa
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x178], 0xc
call fcn.00939e54
jmp 0x54c909
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x178], 0xffffffff
call fcn.00816174
mov dword [ebp - 0x180], 0
jmp 0x54dfe3
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0xf8]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b62c6
lea eax, [ebp - 0x108]
mov dword [esp], eax
mov dword [ebp - 0x178], 0x33
call fcn.0092bb18
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x190]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x178], 0x32
call eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x184]
mov dword [esp + 4], eax
lea edx, [ebp - 0x138]
mov dword [esp], edx
call fcn.004f7dea
sub esp, 4
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x184]
mov dword [esp], edx
mov dword [ebp - 0x178], 0x31
call fcn.0050b3f8
jmp 0x54cfad
mov dword [ebp - fcn.008ee948], 0x9ed828
lea eax, [ebp - 0x118]
mov dword [esp], eax
mov dword [ebp - 0x178], 0x27
call fcn.0094af5c
jmp 0x54d02c
lea edx, [ebp - 0x138]
add edx, 0x20
mov dword [ebp - 0x21c], edx
mov dword [esp], edx
mov dword [ebp - 0x178], 0x25
call fcn.0092db40
jmp 0x54d13d
mov eax, dword [ebp - 0x21c]
mov dword [esp], eax
call fcn.0091fdf4
lea edx, [ebp - 0x138]
add edx, 0x1c
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x238], eax
sub eax, 0xc
mov dword [ebp - 0x234], eax
mov dword [esp + 4], edx
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x234], 0x9aba1c
je 0x54d2d2
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x238]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x178], 0x23
call fcn.00815de4
test eax, eax
jg 0x54d2d2
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x234]
mov dword [esp], edx
call fcn.00929958
jmp 0x54d2d2
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922338
mov edx, dword [ebp - 0x230]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x138]
add eax, 0x18
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x254], edx
sub edx, 0xc
mov dword [ebp - 0x250], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x250], 0x9aba1c
je 0x54d475
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x254]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x178], 0x21
call fcn.00815de4
test eax, eax
jg 0x54d475
lea edx, [ebp - 0x148]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x250]
mov dword [esp], eax
call fcn.00929958
jmp 0x54d475
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.00922338
mov eax, dword [ebp - 0x24c]
mov dword [esp], eax
call fcn.00922348
lea edx, [ebp - 0x138]
add edx, 0x14
mov dword [ebp - 0x268], edx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x270], eax
sub eax, 0xc
mov dword [ebp - 0x26c], eax
mov dword [esp + 4], edx
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x26c], 0x9aba1c
je 0x54d60f
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x270]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x178], 0x1f
call fcn.00815de4
test eax, eax
jg 0x54d60f
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x26c]
mov dword [esp], edx
call fcn.00929958
jmp 0x54d60f
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922338
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
call fcn.00922348
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x284], edx
sub edx, 0xc
mov dword [ebp - 0x280], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x280], 0x9aba1c
je 0x54d6d4
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x284]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x178], 0x1d
call fcn.00815de4
test eax, eax
jg 0x54d6d4
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x280]
mov dword [esp], edx
call fcn.00929958
jmp 0x54d6d4
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x178], 0x37
call eax
test al, al
jne 0x54c93d
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x178], 0x37
call eax
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x138]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b62c5
lea eax, [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x178], 0x1c
call fcn.0092bb18
lea edx, [ebp - 0x148]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x178], 0x1b
call fcn.00939554
jmp 0x54d86d
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x298], edx
sub edx, 0xc
mov dword [ebp - 0x294], edx
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
lea edx, [ebp - 0x128]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x294], 0x9aba1c
je 0x54d916
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x298]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x178], 0x19
call fcn.00815de4
test eax, eax
jg 0x54d916
lea eax, [ebp - 0x128]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x294]
mov dword [esp], edx
call fcn.00929958
jmp 0x54d916
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xe8]
mov eax, 0
cmp dword [ebp - 0xe0], 1
jne 0x54d975
mov dword [edx + 8], 2
mov eax, dword [edx + 4]
mov edx, dword [eax]
mov dword [esp], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x178], 0x37
call eax
movzx eax, al
movzx eax, al
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0xe8], vtable.seMySQL.0
cmp dword [ebp - 0xe0], 1
jne 0x54d9ab
mov eax, dword [ebp - 0xe4]
mov edx, dword [eax]
mov dword [esp], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x178], 0x38
call eax
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x138]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b62c5
lea eax, [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x178], 0x10
call fcn.0092bb18
lea edx, [ebp - 0x148]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x178], 0xf
call fcn.00939554
jmp 0x54dafc
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x2cc], eax
sub eax, 0xc
mov dword [ebp - 0x2c8], eax
lea edx, [ebp - 0x148]
mov dword [esp + 4], edx
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x2c8], 0x9aba1c
je 0x54dba2
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x2cc]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x178], 0xd
call fcn.00815de4
test eax, eax
jg 0x54dba2
lea edx, [ebp - 0x128]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x2c8]
mov dword [esp], eax
call fcn.00929958
jmp 0x54dba2
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x178], 0x11
call fcn.008b57ec
jmp 0x54dc06
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x178], 0x12
call fcn.00939e54
jmp 0x54dc65
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x178], 0xffffffff
call fcn.00816174
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x180], eax
jmp 0x54dfe3
lea eax, [ebp - 0x17c]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, dword [ebp - 0x180]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret