Function at 0x4eae00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x722ad6
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004eaa40
cmp dword [esi + 0x388], 0
jne 0x4eae44
xor al, al
jmp 0x4eb2c2
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.00515bb0
add esp, 4
mov ecx, dword [ebp - 0x48]
mov edi, closesocket
mov eax, edi
mov byte [ebp - 4], 1
sub eax, ecx
cmp eax, 0xa
jb 0x4eb2dd
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 0xa
cmovae eax, dword [ebp - 0x58]
push str.address.db
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x78]
lea ecx, [ebp - 0x40]
call fcn.004cc200
push 1
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x78]
call fcn.004e8110
mov edx, dword [ebp - 0x2c]
test al, al
mov byte [ebp - 4], 1
sete al
mov byte [ebp - 0x71], al
cmp edx, 0x10
jb 0x4eaef1
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eaee4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb2e2
push edx
push ecx
call fcn.006f4b9f
mov al, byte [ebp - 0x71]
add esp, 8
test al, al
je 0x4eaefe
mov byte [ebp - 0x71], 0
jmp 0x4eb26d
mov edx, dword [esi + 0x388]
lea eax, [esi + 0x378]
sub edi, edx
cmp edi, 0x23
jb 0x4eb2e7
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x4eaf1f
mov ecx, dword [eax]
push edx
push ecx
push 0x23
push str.SELECT_ou_FROM_user_WHERE_email__
push eax
push dword [ebp - 0x78]
lea ecx, [ebp - 0x40]
call fcn.004cc200
push 0x11
push str._and_type__U
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0044ef80
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x40]
call fcn.0044f440
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.004e5aa0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x7c]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x80]
push dword [eax]
call fcn.00460ff0
add esp, 0x14
test eax, eax
jne 0x4eb1ec
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x80]
call fcn.0051a1f0
test al, al
je 0x4eb1ec
lea ecx, [ebp - 0xa4]
call fcn.004edd20
test al, al
je 0x4eb06f
mov dword [ebp - 0x40], 0
mov eax, 0x756f
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 2
mov word [ebp - 0x40], ax
mov byte [ebp - 0x3e], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xa4]
call fcn.004e9910
push eax
lea ecx, [esi + 0x390]
call fcn.004e7290
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x4eb06f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb065
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb2f1
push edx
push ecx
call fcn.006f4b9f
add esp, 8
cmp dword [esi + 0x3a0], 0
je 0x4eb1ec
lea eax, [esi + 0x390]
push eax
lea eax, [ebp - 0x70]
push str.SELECT_org_id_FROM_org_WHERE_ou__
push eax
call fcn.0044e8f0
push 0x7c4380
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
call fcn.0044f050
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4eb118
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4eb0e4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb0da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb2ec
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x40]
call fcn.0044f440
lea ecx, [ebp - 0x70]
call fcn.0044f440
lea eax, [ebp - 0x78]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.004e5aa0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x84]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x88]
push dword [eax]
call fcn.00460ff0
add esp, 0x14
test eax, eax
jne 0x4eb1be
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x88]
call fcn.0051a1f0
test al, al
je 0x4eb1be
lea ecx, [ebp - 0xc0]
call fcn.004edd20
test al, al
je 0x4eb1b8
push 0
lea ecx, [ebp - 0xc0]
call fcn.004e99e0
push eax
lea ecx, [esi + 0x3a8]
call fcn.004e7290
mov byte [ebp - 0x71], 1
jmp 0x4eb1c2
mov byte [ebp - 0x71], 0
lea ecx, [ebp - 0xc0]
call fcn.004e68e0
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x4eb1f0
push eax
call fcn.00462630
add esp, 4
test eax, eax
jne 0x4eb1f0
mov dword [ebp - 0x84], eax
jmp 0x4eb1f0
mov byte [ebp - 0x71], 0
mov eax, dword [ebp - 0x94]
push dword [eax + 4]
lea eax, [ebp - 0x94]
push eax
mov ecx, eax
call fcn.004e48d0
push 0x2c
push dword [ebp - 0x94]
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0xa4]
call fcn.004e6560
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x4eb239
push eax
call fcn.00462630
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4eb26d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb263
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb2f1
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4eb29d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb293
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb2f6
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
test ecx, ecx
je 0x4eb2bf
push ecx
call fcn.0045d5b0
add esp, 4
mov al, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.0044f120
call fcn.006fb96e
call fcn.0044f120
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
int3