Function at 0x638260
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x63848e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov dword [esp], ecx
call fcn.00638900
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
mov edi, dword [0x93f150]
test edi, edi
je 0x6382bf
mov dword [esp + 0x34], ebp
call fcn.00471840
mov dword [edi], ebx
mov ebp, dword [esi + 0x10]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x34]
mov dword [esi + 0x10], ebx
test eax, eax
jne 0x6382e4
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov edi, edx
sar edi, 0x1f
add eax, edx
adc edi, ebx
add eax, 2
mov dword [esi + 0x18], eax
adc edi, 0
mov dword [esi + 0x1c], edi
nop
jmp 0x6382e9
add esp, 0x38
ret
dec edx
test edx, edx
je 0x638306
movzx eax, byte [edx + ecx - 1]
cmp al, 0x20
je 0x6382e8
cmp al, 9
je 0x6382e8
cmp al, 0xa
je 0x6382e8
cmp al, 0xd
je 0x6382e8
mov eax, dword [0x914c08]
mov ebx, dword [0x914c0c]
mov esi, dword [0x914c10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
call fcn.004d2ef0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 0xc], 0
mov ebp, dword [0x93f150]
test ebp, ebp
je 0x63835f
mov ebp, dword [ebx + 0x10]
call fcn.00471830
mov dword [edi], ebp
mov dword [ebx + 0x10], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00638c80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x3c]
mov dword [ebp + 4], eax
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ecx
mov esi, dword [0x93f150]
test esi, esi
je 0x6383aa
call fcn.00471840
mov dword [edi], ebx
mov esi, dword [ebp + 0x10]
mov dword [edi + 4], esi
mov dword [ebp + 0x10], ebx
test ecx, ecx
jne 0x63848a
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
shl edx, 1
mov esi, eax
shl eax, 1
shr esi, 0x1f
or edx, esi
sub ecx, eax
sbb ebx, edx
add ecx, 0xfffffff0
mov dword [ebp + 0x18], ecx
adc ebx, 0xffffffff
mov dword [ebp + 0x1c], ebx
test ebx, ebx
jge 0x6383de
xor ebx, ebx
xor ecx, ecx
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], ebx
test ebx, ebx
sete al
setg dl
cmp ecx, 0x4000
seta cl
and ecx, eax
or edx, ecx
test dl, dl
je 0x638447
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x72cd12]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x638442
call fcn.00471840
mov dword [edi], eax
mov ecx, dword [edx + 0x10]
mov dword [edi + 4], ecx
mov dword [edx + 0x10], eax
mov ebp, edx
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
test ecx, ecx
sete cl
test eax, eax
sete al
and ecx, eax
test cl, cl
je 0x638486
mov eax, dword [0x913598]
mov ecx, dword [0x91359c]
mov dword [ebp + 0xc], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x638483
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [ebp + 0x10]
mov dword [edi + 4], eax
mov dword [ebp + 0x10], ecx
add esp, 0x38
ret
add esp, 0x38
ret
call fcn.00470430
jmp fcn.00638260