Function at 0x5a8dc0
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x5a9653
sub esp, 0xac
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x5a9617
test edx, 0x100
je 0x5a95f6
mov edx, dword [esp + 0xb4]
lea ebx, [0x61a0c0]
cmp edx, ebx
jne 0x5a8e20
mov ebx, dword [esp + 0xb8]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
jmp 0x5a8e2f
mov ebx, 0
mov ebp, 0
mov esi, 0
jne 0x5a8e3a
mov edx, ebp
mov eax, esi
jmp 0x5a8ed2
nop
mov ebx, dword [esp + 0xb4]
test ebx, ebx
je 0x5a8ecc
nop
movzx ebp, byte [0x7d3b68]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5a8e8b
mov dword [0x7d3b6c], edx
mov edx, dword [0x7f8db0]
test edx, edx
jne 0x5a8e77
mov eax, dword [esp + 0xb8]
mov dword [0x7d3b70], eax
jmp 0x5a8e92
lea edi, [0x7d3b70]
mov eax, dword [esp + 0xb8]
call fcn.00464380
jmp 0x5a8e92
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x5a8ec4
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5a8ed2
or ebx, 0x80
jmp 0x5a8ed2
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5a8ed2
xor ebx, ebx
xor edx, edx
xor eax, eax
mov ebp, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
test ebx, ebx
je 0x5a9528
mov dword [esp + 0x44], ebp
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edx
test ebx, 0x200
jne 0x5a8f1d
mov dword [esp + 0x50], eax
lea eax, [0x66f350]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
jmp 0x5a8f5a
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c25c0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], edx
test ebp, ebp
je 0x5a8f7a
test ebp, 0x200
jne 0x5a8f7a
mov dword [esp + 0x48], eax
lea eax, [0x66f350]
mov dword [esp + 0x2c], eax
jmp 0x5a8f9a
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004c25c0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x24]
mov dword [esp], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call eax
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a906c
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5a8fdd
test eax, 0x200
jne 0x5a8fdd
lea ecx, [0x66f350]
mov edi, dword [esp + 0x84]
jmp 0x5a9005
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c25c0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
call fcn.004c3560
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c0f10
xor eax, eax
xor ecx, ecx
jmp 0x5a959c
nop
mov eax, dword [esp + 0x44]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x16
jne 0x5a9151
test ecx, 0x200
je 0x5a9093
mov eax, dword [esp + 0x88]
jmp 0x5a9123
test ecx, 0x80
je 0x5a90a6
mov eax, dword [esp + 0x88]
mov esi, dword [eax]
jmp 0x5a90af
mov eax, dword [esp + 0x88]
mov esi, eax
test esi, esi
jne 0x5a9123
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
mov edx, dword [edx + 0x28]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c31e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov ebp, dword [esp + 0x88]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c0f10
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004bd5d0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
test eax, 0x200
jmp 0x5a916a
mov eax, dword [esp + 0x3c]
test eax, 0x200
mov ebp, ecx
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x7c], edi
jne 0x5a9184
lea ecx, [0x66f350]
mov edx, dword [esp + 0x70]
jmp 0x5a91b6
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c25c0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x7c]
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x60], edx
test ebp, ebp
je 0x5a91d2
test ebp, 0x200
jne 0x5a91d2
lea ebx, [0x66f350]
jmp 0x5a91f4
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004c25c0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov ebx, eax
mov eax, dword [ecx + 0x24]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
call eax
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a92af
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5a922c
test eax, 0x200
jne 0x5a922c
lea ecx, [0x66f350]
mov edi, dword [esp + 0x7c]
jmp 0x5a924e
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c25c0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
call fcn.004c3560
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c0f10
xor eax, eax
xor ecx, ecx
jmp 0x5a959c
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
call fcn.004b9800
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004be5e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [0x5f7520]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00409e50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5a9467
mov ecx, dword [esp + 0x3c]
test ecx, 0x200
jne 0x5a9338
mov ecx, dword [esp + 0x34]
test ecx, ecx
lea eax, [0x66f350]
mov edx, dword [esp + 0x70]
jmp 0x5a935e
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c25c0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x24], eax
je 0x5a937c
test ecx, 0x200
jne 0x5a937c
lea ecx, [0x66f350]
mov edi, dword [esp + 0x7c]
jmp 0x5a939e
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c25c0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x20], ecx
xor eax, eax
lea edi, [esp + 0x94]
call fcn.004645ca
mov ecx, dword [esp + 0xb0]
mov ebx, dword [ecx]
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00409b20
mov ecx, dword [esp + 8]
lea edx, [0x5f1960]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5a93f4
mov eax, dword [ecx + 4]
jmp 0x5a93f6
mov eax, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5a9415
mov ecx, dword [eax + 4]
jmp 0x5a9417
mov ecx, eax
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa8], eax
lea eax, [0x62a45b]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004dec80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x5a959c
mov dword [esp + 0x38], eax
mov dword [esp + 0x6c], ecx
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004be5e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
lea edx, [0x5f7d00]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00409e50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5a94fb
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5a959c
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5a959c
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5a959c
test ebp, ebp
je 0x5a953c
test ebp, 0x200
jne 0x5a953c
lea eax, [0x66f350]
jmp 0x5a9554
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004c25c0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004c3100
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.004c0f10
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 0x10]
mov esi, dword [edx + 8]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.005cca20
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0xb0]
mov byte [ecx + 4], al
mov eax, dword [esp + 0x40]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc0], eax
add esp, 0xac
ret
mov eax, dword [0x7d37b8]
mov ecx, dword [0x7d37bc]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xac
ret
lea eax, [0x5f96c0]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x620be5]
mov dword [eax], ecx
lea ecx, [0x66e664]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xac
ret
call fcn.00462f70
jmp fcn.005a8dc0