Function at 0x412120
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, eax
or eax, ecx
mov ebx, dword [esp + 0x48]
or eax, ebx
test eax, 3
jne 0x412415
movzx eax, byte [0x7f8db4]
test al, al
je 0x412220
nop
mov eax, dword [0x7d8bdc]
test byte [eax], al
mov ebp, ecx
shr ecx, 0x16
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x412178
mov ecx, ebp
shr ebp, 0xd
and ebp, 0x1ff
mov eax, dword [eax + ebp*4 + 0x21000]
jmp 0x41217c
mov ecx, ebp
xor eax, eax
test eax, eax
jne 0x4121ac
lea eax, [0x7d3388]
mov dword [esp], eax
call fcn.00402380
mov eax, dword [esp + 4]
test eax, eax
je 0x41219d
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4121a1
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x40]
xor ebx, ebx
jmp 0x412369
mov dword [esp + 0x24], eax
nop
lea ecx, [eax + 0x3b]
mov dword [esp], ecx
call fcn.00401f80
cmp byte [esp + 4], 1
jne 0x4121d5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0xc], eax
ja 0x4121d5
cmp dword [ecx + 0x44], eax
ja 0x4121d9
add esp, 0x3c
ret
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x38], ecx
test byte [ecx], al
mov dword [esp], eax
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
call fcn.00411f10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x4122d3
jmp 0x41222c
add esp, 0x3c
ret
mov ecx, edx
mov eax, dword [esp + 0x34]
mov edx, ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00411fe0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x4122c9
mov dword [esp + 0x34], ecx
mov esi, eax
mov edi, dword [esp + 0x40]
sub esi, edi
mov edi, dword [esp + 0x44]
add esi, edi
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0x978]
mov eax, dword [eax]
mov esi, dword [esi]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov eax, dword [edi + 0x978]
add eax, 8
mov dword [edi + 0x978], eax
cmp dword [edi + 0x97c], eax
jne 0x412224
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.00430810
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
jmp 0x412224
add esp, 0x3c
ret
mov eax, ecx
mov ecx, edx
mov edx, ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00411fe0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x4122c9
mov esi, dword [esp + 0x38]
mov edi, dword [esi + 0x978]
mov eax, dword [eax]
mov dword [edi], eax
mov dword [edi + 4], 0
mov eax, dword [esi + 0x978]
add eax, 8
mov dword [esi + 0x978], eax
cmp dword [esi + 0x97c], eax
jne 0x4122cd
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.00430810
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
jmp 0x4122cd
inc ebx
cmp eax, ebx
jle 0x4123a8
mov ebp, dword [ecx + ebx*4]
mov esi, dword [ebp + 0x68]
cmp edx, esi
jb 0x412368
cmp dword [ebp + 0x6c], edx
jbe 0x412368
mov eax, dword [ebp + 0x104]
mov dword [esp], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
sub edx, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00412560
add esp, 0x3c
ret
lea eax, [0x7d3388]
mov dword [esp], eax
call fcn.00402380
mov eax, dword [esp + 4]
test eax, eax
je 0x4123c5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4123c9
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x40]
xor ebx, ebx
jmp 0x4123d2
inc ebx
cmp eax, ebx
jle 0x412411
mov ebp, dword [ecx + ebx*4]
mov esi, dword [ebp + 0x70]
cmp edx, esi
jb 0x4123d1
cmp dword [ebp + 0x74], edx
jbe 0x4123d1
mov eax, dword [ebp + 0x10c]
mov dword [esp], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
sub edx, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00412560
add esp, 0x3c
ret
add esp, 0x3c
ret
lea eax, [0x627d12]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00436e90
nop
int3