Function at 0x4afb83
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4010c0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x3c], 0
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
inc edx
mov dword [ebp - 0x18], ebx
push edi
cmp byte [esi + 0x55], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x34], edx
jne 0x4afbcd
push 0x43237c
mov edx, esi
mov ecx, ebx
call fcn.00459a78
xor eax, eax
pop ecx
inc eax
jmp 0x4affaf
cmp dword [esi + 0xbc], edx
jle 0x4afbdc
push 0x4323a4
jmp 0x4afbbb
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x4afc12
movzx eax, word [ecx + 0x10]
and eax, 0x3f
cmp byte [eax + 0x428b20], 3
je 0x4afbfd
push 0x4323d0
jmp 0x4afbbb
call fcn.0047408a
mov ecx, dword [esi + 0x3c]
mov edx, eax
and ecx, 0xfffffffe
or ecx, 6
mov dword [esi + 0x3c], ecx
jmp 0x4afc17
mov edx, 0x420b82
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x40], eax
or eax, 6
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], ebx
and eax, 0xfffffffe
mov ebx, dword [esi + 0x6c]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x44], ecx
and ecx, 0xefffafff
mov dword [ebp - 0x4c], ebx
or ecx, 0x201
mov ebx, dword [esi + 0x70]
shl edi, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [esi + 0x74]
mov dword [esi + 0x20], ecx
mov dword [ebp - 0x54], ebx
mov bl, byte [esi + 0x5e]
mov byte [esi + 0x5e], 0
mov ecx, dword [eax + edi]
mov eax, dword [eax + edi + 4]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x30], edi
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ecx]
call fcn.00466418
mov ebx, dword [ebp - 0x18]
push edx
push 0x4323e4
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x14]
push ebx
push esi
mov dword [ebp - 0x24], eax
call fcn.004afa85
mov ecx, dword [ebp - 0xc]
mov edi, eax
add esp, 0x10
mov dword [esi + 0x3c], ecx
test edi, edi
jne 0x4aff43
mov eax, dword [ebp - 0x24]
shl eax, 4
add eax, dword [esi + 0x10]
mov dword [ebp - 0x3c], eax
mov ebx, dword [eax + 4]
cmp dword [ebp - 0x20], edi
je 0x4afd2b
mov eax, dword [ebx + 4]
xorps xmm0, xmm0
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
movlpd qword [ebp - 0x10], xmm0
mov ecx, dword [eax]
test ecx, ecx
je 0x4afd11
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x18]
pop ecx
pop ecx
test eax, eax
jne 0x4afcf9
cmp dword [ebp - 0xc], eax
jl 0x4afd11
jg 0x4afcf9
cmp dword [ebp - 0x10], eax
jbe 0x4afd11
mov ecx, dword [ebp - 0x18]
xor edi, edi
push 0x4323fc
mov edx, esi
inc edi
call fcn.00459a78
pop ecx
jmp 0x4aff43
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x30]
or dword [esi + 0x18], 8
movzx ecx, byte [eax + ecx + 8]
mov eax, dword [esi + 0x20]
and eax, 0x38
or ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0046b118
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ecx + eax + 0xc]
mov ecx, ebx
mov edx, dword [edx + 0x50]
call fcn.0046afbe
mov ecx, dword [ebp - 0x1c]
xor edx, edx
call fcn.0046aff8
mov edx, eax
mov ecx, ebx
call fcn.0046aff8
mov edx, dword [ebp - 0x34]
mov ecx, ebx
or edx, 0x20
call fcn.0046b05a
mov edx, dword [ebp - 0x18]
mov ecx, esi
push 0x430a14
call fcn.004af9c7
mov edi, eax
pop ecx
test edi, edi
jne 0x4aff43
mov ecx, dword [ebp - 0x1c]
xor edx, edx
cmp dword [ebp - 0x20], edx
push eax
push 2
pop eax
cmove edx, eax
call fcn.0046b53b
mov edi, eax
pop ecx
test edi, edi
jne 0x4aff43
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 4]
mov eax, dword [eax]
cmp byte [eax + 5], 5
jne 0x4afdbb
cmp dword [ebp - 0x20], 0
jne 0x4afdbb
and dword [esi + 0x64], 0
mov eax, dword [edi + 4]
mov ecx, ebx
push 0
push dword [ebp - 0xc]
mov edx, dword [eax + 0x24]
call fcn.0046b07f
pop ecx
pop ecx
test eax, eax
jne 0x4aff40
cmp dword [ebp - 0x2c], eax
jne 0x4afdf4
mov edx, dword [esi + 0x64]
mov ecx, ebx
push eax
push dword [ebp - 0xc]
call fcn.0046b07f
pop ecx
pop ecx
test eax, eax
jne 0x4aff40
cmp byte [esi + 0x57], 0
jne 0x4aff40
mov al, byte [esi + 0x5a]
test al, al
js 0x4afe0a
movsx eax, al
jmp 0x4afe11
mov ecx, edi
call fcn.0046b212
mov edx, eax
mov ecx, ebx
call fcn.0046b1b7
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push 0x432418
push dword [ebp - 0x18]
mov byte [esi + 0xb0], al
push esi
call fcn.004afa85
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4aff43
push dword [ebp - 0x28]
push 0x432484
push dword [ebp - 0x18]
push esi
call fcn.004afa85
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4aff43
push dword [ebp - 0x28]
mov byte [esi + 0xb0], al
push 0x4324c0
push dword [ebp - 0x18]
push esi
call fcn.004afa85
and dword [esi + 0x18], 0xfffffffb
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4aff43
push dword [ebp - 0x28]
push 0x432558
push dword [ebp - 0x18]
push esi
call fcn.004afa85
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4aff43
mov dword [ebp - 0x24], edi
movzx edx, byte [edi + 0x423f18]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0047183f
movzx eax, byte [edi + 0x423f19]
add eax, dword [ebp - 0x2c]
movzx edx, byte [edi + 0x423f18]
pop ecx
push eax
mov ecx, ebx
call fcn.00471881
mov edi, eax
pop ecx
test edi, edi
jne 0x4aff43
mov edi, dword [ebp - 0x24]
add edi, 2
mov dword [ebp - 0x24], edi
cmp edi, 0xa
jl 0x4afea8
cmp dword [ebp - 0x20], eax
jne 0x4afeff
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
call fcn.004731c6
mov edi, eax
test edi, edi
jne 0x4aff43
mov ecx, ebx
call fcn.0046c089
mov edi, eax
test edi, edi
jne 0x4aff43
cmp dword [ebp - 0x20], eax
jne 0x4aff43
mov ecx, ebx
call fcn.0046b212
mov ecx, dword [ebp - 0x1c]
mov edx, eax
call fcn.0046b1b7
mov ecx, ebx
call fcn.0046b118
mov ecx, dword [ebx + 4]
push 1
push eax
mov edx, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
call fcn.0046b07f
pop ecx
pop ecx
mov edi, eax
jmp 0x4aff43
push 7
pop edi
mov eax, dword [ebp - 0x40]
or edx, 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x74], eax
mov al, byte [ebp - 0x11]
push 1
push 0
mov byte [esi + 0xb0], 0
mov byte [esi + 0x5e], al
call fcn.0046b07f
mov ebx, dword [ebp - 0x3c]
mov byte [esi + 0x55], 1
pop ecx
pop ecx
test ebx, ebx
je 0x4affa6
mov ecx, dword [ebx + 4]
call fcn.0046af2e
and dword [ebx + 4], 0
and dword [ebx + 0xc], 0
mov ecx, esi
call fcn.00490791
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caec8
leave
ret