Function at 0x476c5f
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x4e48b8
call fcn.004baf44
sub esp, 0x410
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call fcn.00476987
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x476ca6
push 0x19d6
push 0x51676c
push 0x5182bc
push 0x50a714
push 0x508530
call fcn.00401466
jmp 0x476eb9
push dword [ebp + 8]
mov ecx, esi
call fcn.004769bc
mov ebx, eax
test ebx, ebx
jne 0x476cc7
push 0x19da
push 0x51676c
push 0x5182f8
jmp 0x476c92
mov ecx, dword [esi + 0x6fc]
lea eax, [esi + 0x6f8]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x28
jb 0x476d31
and dword [ebp - 4], 0
lea eax, [ebp + 0xb]
push eax
push 0x516a98
lea ecx, [ebp - 0x1c]
call fcn.00403ed8
mov edi, dword [esi + 8]
add esi, 8
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
push eax
push esi
call dword [edi + 0x14c]
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x1c]
call fcn.00407799
jmp 0x476ebc
push dword [esi + 0x960]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edi, eax
test edi, edi
jne 0x476d91
push 0x19e6
push 0x51676c
push 0x50c9bc
push 0x50a714
push 0x508530
call fcn.00401466
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
lea edi, [esi + 8]
call dword [eax + 4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push eax
push 0x517fe8
push ebx
call fcn.004b2c2b
add esp, 0x10
jmp 0x476ebc
push dword [esi + 0x7d4]
lea eax, [ebp - 0x41c]
push dword [ebp - 0x10]
push 0x518294
push eax
call fcn.004bafeb
mov eax, dword [edi]
add esp, 0x10
lea ecx, [ebp - 0x41c]
push ecx
mov ecx, edi
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x476ddb
mov eax, dword [esi]
mov ecx, esi
lea edi, [esi + 8]
call dword [eax + 4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push eax
push 0x518170
jmp 0x476d83
test eax, eax
jne 0x476df9
mov eax, dword [esi]
mov ecx, esi
lea edi, [esi + 8]
call dword [eax + 4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push eax
push 0x51814c
jmp 0x476d83
push dword [esi + 0x7d4]
lea eax, [ebp - 0x41c]
push dword [ebp - 0x10]
push 0x518304
push eax
call fcn.004bafeb
mov eax, dword [edi]
add esp, 0x10
lea ecx, [ebp - 0x41c]
push ecx
mov ecx, edi
call dword [eax + 0xc]
test al, al
jne 0x476e6a
push 0x19fe
push 0x51676c
push 0x50f4ac
push 0x50a714
push 0x508530
call fcn.00401466
add esp, 0x14
lea eax, [ebp - 0x41c]
mov ecx, esi
lea edi, [esi + 8]
push eax
mov eax, dword [esi]
call dword [eax + 4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push eax
push 0x5180ec
jmp 0x476eb3
mov eax, dword [esi]
mov ecx, esi
lea edi, [esi + 8]
call dword [eax + 4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push eax
push 0x5180c8
push ebx
call fcn.004b2c2b
add esp, 0x10
mov ecx, esi
push 1
push dword [ebp + 8]
call fcn.0046b3c1
test eax, eax
jne 0x476ec0
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push eax
push 0x518098
push ebx
call fcn.004b2c2b
add esp, 0x14
xor al, al
jmp 0x476eeb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
push eax
mov eax, dword [esi]
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push eax
push 0x518064
push ebx
call fcn.004b2c2b
add esp, 0x18
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4