Function at 0x4bda70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8dd1
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor dl, dl
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.005917b0
call fcn.00488470
push ecx
lea ecx, [ebp - 0xf4]
mov edi, eax
call fcn.0041c300
push esi
push ecx
mov edx, str.SELECT__id__FROM__accounts__WHERE__id__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, str._AND__key_
mov ecx, eax
call fcn.004064c0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x2c]
mov byte [ebp - 4], 3
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4bdb20
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [ebp - 0xe4]
call fcn.004073f0
add esp, 4
mov edx, esi
cmp dword [esi + 0x14], 0x10
jb 0x4bdb3b
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov edx, 0x5d9484
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4bdb88
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bdb7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bdbc4
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x4bdbd4
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bdbca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4bdbca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045b34b
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00404ef0
mov byte [ebp - 4], 4
mov ecx, edi
mov edx, dword [edi]
push eax
call dword [edx + 0x1c]
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test esi, esi
sete bl
cmp ecx, 0x10
jb 0x4bdc30
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bdc26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4bdc26
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
test bl, bl
je 0x4bdc4a
xor bl, bl
jmp 0x4bdc53
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov bl, 1
lea ecx, [ebp - 0xf4]
call fcn.0041c440
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x4bdc94
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bdc8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4bdc8a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
ret 0x1c