Function at 0x4391d0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x30
mov ebx, dword [0x93ee7c]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebp, dword [ebx + 0x18]
nop
inc dword [ebp + 0x7c]
mov ebx, dword [ebx + 0x18]
mov dword [esp + 0x24], ebx
mov ebp, dword [ebx + 0x58]
mov esi, dword [ebp + 0x500]
test esi, esi
jne 0x439215
mov dword [esp + 0x2c], ebp
nop
lea eax, [0x921500]
mov dword [esp], eax
call fcn.0040a2c0
mov eax, dword [esp + 0x2c]
jmp 0x4392cb
mov ecx, dword [ebp + 0x500]
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x4392c2
mov esi, dword [ebp + 0x4fc]
mov edi, dword [0x93f150]
mov edx, dword [esi + ecx*4 - 4]
test edi, edi
je 0x439251
mov edi, dword [esi + ecx*4 - 4]
mov dword [esp + 0x20], edi
call fcn.00471830
mov ebx, dword [esp + 0x20]
mov dword [edi], ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + ecx*4 - 4], 0
mov esi, dword [ebp + 0x504]
cmp esi, eax
jb 0x4392b9
mov dword [ebp + 0x500], eax
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x4392a3
mov eax, dword [ebx + 0x7c]
lea ecx, [eax - 1]
nop
mov ebp, dword [0x93ee7c]
mov ebp, dword fs:[ebp]
mov ebp, dword [ebp]
mov dword [ebx + 0x7c], ecx
cmp eax, 1
jne 0x43929b
movzx eax, byte [ebp + 0x69]
test al, al
je 0x43929b
mov dword [ebp + 8], 0xfffffade
mov dword [esp + 0x34], edx
add esp, 0x30
ret
lea eax, [0x72c613]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
call fcn.0046ad70
mov ecx, eax
mov edx, esi
call fcn.004718f0
call fcn.004718b0
mov dword [ebp + ebx*4 - 4], ecx
mov ecx, dword [eax + 0x504]
shr ecx, 1
cmp dword [eax + 0x500], ecx
jge 0x4393c1
mov ecx, dword [0x921504]
test ecx, ecx
je 0x4393c1
mov edx, dword [0x93f150]
mov ebx, dword [ecx + 4]
test edx, edx
je 0x439310
call fcn.00471850
mov dword [edi], ebx
mov edx, dword [0x921504]
mov dword [edi + 4], edx
mov edx, dword [ecx + 4]
mov dword [edi + 8], edx
mov dword [0x921504], ebx
mov dword [ecx + 4], 0
mov edx, dword [eax + 0x504]
mov ebx, dword [eax + 0x500]
inc ebx
mov ebp, dword [eax + 0x4fc]
cmp edx, ebx
jae 0x43939a
mov dword [esp + 0x28], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6ccc20]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov dword [ebx + 0x504], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x43938a
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [ebx + 0x4fc]
mov dword [edi + 4], eax
mov dword [ebx + 0x4fc], ecx
mov eax, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x500], ebx
mov edx, dword [0x93f150]
test edx, edx
je 0x4392c7
call fcn.00471840
mov dword [edi], ecx
mov edx, dword [ebp + ebx*4 - 4]
mov dword [edi + 4], edx
jmp 0x4392c7
nop
nop
lea eax, [0x921500]
mov dword [esp], eax
call fcn.0040a4e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x500]
test ecx, ecx
jne 0x439496
lea eax, [0x70b720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x504]
mov edx, dword [eax + 0x500]
inc edx
mov ebx, dword [eax + 0x4fc]
mov ebp, dword [esp + 4]
cmp ecx, edx
jae 0x439474
mov dword [esp + 0x28], ebp
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6ccc20]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov dword [ebx + 0x504], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x439466
call fcn.00471840
mov dword [edi], ecx
mov ebp, dword [ebx + 0x4fc]
mov dword [edi + 4], ebp
mov dword [ebx + 0x4fc], ecx
mov eax, ebx
mov ebp, dword [esp + 0x28]
mov ebx, ecx
mov dword [eax + 0x500], edx
mov esi, dword [0x93f150]
test esi, esi
je 0x439492
call fcn.00471840
mov dword [edi], ebp
mov esi, dword [ebx + edx*4 - 4]
mov dword [edi + 4], esi
mov dword [ebx + edx*4 - 4], ebp
mov ebx, dword [esp + 0x24]
mov ebp, eax
jmp 0x439215