Function at 0x496950
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
call fcn.0043f37c
mov esi, eax
lea edi, [ebp - 0xe0]
lea eax, [ebp - 0xac]
mov dword [esp], eax
call fcn.007507e0
mov dword [ebp - 0xac], 0x839710
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x37], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [0x8210cc]
mov dword [ebp - 0xe0], eax
mov ebx, eax
sub ebx, 0xc
mov eax, dword [ebx]
mov edx, dword [0x8210d0]
mov dword [edi + eax], edx
mov dword [ebp - 0xdc], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax - 0xc]
lea eax, [edi + edx]
mov dword [esp], eax
call fcn.007518a0
jmp 0x4969f6
mov edx, dword [0x8210d4]
mov dword [ebp - 0xd8], edx
lea eax, [ebp - 0xd8]
mov edx, dword [edx - 0xc]
mov ecx, dword [0x8210d8]
mov dword [eax + edx], ecx
mov dword [esp + 4], 0
mov edx, dword [ebp - 0xd8]
add eax, dword [edx - 0xc]
mov dword [esp], eax
call fcn.007518a0
jmp 0x496a56
mov eax, dword [0x8210c8]
mov dword [ebp - 0xe0], eax
lea ebx, [ebp - 0xe0]
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210dc]
mov dword [ebx + eax], edx
mov eax, dword [0x8210e0]
mov dword [ebp - 0xd8], eax
mov eax, dword [0x8210c4]
mov dword [ebp - 0xe0], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210e4]
mov dword [ebx + eax], edx
mov eax, dword [0x8210e8]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], vtable.c_streambufIwSt11char_traitsIwEE.0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
lea eax, [ebp - 0xb8]
mov dword [esp], eax
call fcn.0072de18
mov dword [ebp - 0xd4], 0x838ce8
mov dword [ebp - 0xb4], 0x18
mov dword [ebp - 0xb0], 0x7bf7b0
lea eax, [ebp - 0xd4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe0]
add ebx, dword [eax - 0xc]
mov dword [esp], ebx
call fcn.007518a0
jmp 0x496b57
mov dword [ebp - 0xe0], vtable.o.14.0
mov dword [ebp - 0xac], 0x824814
mov dword [ebp - 0xd8], 0x824800
mov dword [esp], 0x8d18a0
call fcn.00647b78
jmp 0x496bb1
mov dword [esp + 4], str.SELECT__group_id__FROM__accounts__WHERE__id__
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d5546
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [esi]
mov ebx, dword [eax + 0x1c]
lea eax, [ebp - 0x24]
lea edx, [ebp - 0xd4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], esi
call ebx
mov ebx, eax
lea eax, [ebp - 0x24]
mov dword [esp], eax
call fcn.0070479c
jmp 0x496c30
test ebx, ebx
je 0x496d34
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x19]
mov dword [esp + 8], eax
mov dword [esp + 4], str.group_id
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov esi, eax
cmp byte [0x7b9b70], 0
jne 0x496cc1
mov dword [esp], 0x7b9b70
call fcn.00768148
test eax, eax
je 0x496cc1
mov dword [0x7c02ac], vtable.6Logger.0
mov edx, 0x7c02b4
mov ecx, 0x10
mov al, 0
mov edi, edx
rep stosb byte es:[edi], al
mov dword [edi], 0
mov dword [0x7c02bc], edx
mov dword [0x7c02c0], edx
mov dword [esp], 0x7b9b70
call fcn.007681fc
mov dword [esp], 0x489740
call section..text
mov dword [esp + 4], esi
mov dword [esp], 0x7c02ac
call fcn.00479556
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x496cf3
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
test esi, esi
je 0x496d34
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov ecx, dword [ebp + 0x10]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x496d14
mov eax, edx
test al, 1
je 0x496d34
mov bl, 1
jmp 0x496d36
mov bl, 0
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret