Function at 0x621014
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x62101d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f9c
mov eax, dword [ebp - 8]
call fcn.00404f9c
xor eax, eax
push ebp
push 0x6219a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x3c4]
call fcn.0051bc50
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c4]
call fcn.0051d3bc
dec eax
test eax, eax
jl 0x6218da
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x3c4]
call fcn.0051bf3c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x3c4]
call fcn.0051b3a8
test eax, eax
jle 0x6218ce
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x3c4]
call fcn.0051b838
test eax, eax
jle 0x6218c2
mov dword [ebp - 0x3c], eax
mov esi, 1
cmp dword [ebp - 4], 0
je 0x62112f
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov edi, dword [ebx + 0x3c4]
mov eax, edi
call fcn.0051d250
mov edx, eax
mov eax, edi
call fcn.0051cbd0
cdq
push edx
push eax
mov cl, 0xff
mov dl, 0x80
mov al, 0x80
call fcn.00408440
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x621108
cmp eax, dword [esp]
pop edx
pop eax
jne 0x62112f
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 4]
call fcn.004053a4
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
cmp byte [ebp + 8], 0
je 0x6211d3
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051d504
mov eax, dword [ebp - 0x44]
mov edx, 0x6219c0
call fcn.004054dc
jne 0x6211d3
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051d41c
mov edi, eax
xor ecx, ecx
xor edx, edx
mov al, 0xff
call fcn.00408440
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0x3c4]
call fcn.0051ca88
cmp edi, eax
jne 0x6211d3
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040c488
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x4c]
mov eax, 0x6219d0
call fcn.0040d18c
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.004053a4
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051d250
mov edi, eax
mov cl, 0x96
mov dl, 0xc8
mov al, 0xff
call fcn.00408440
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0x3c4]
call fcn.0051ca88
cmp edi, eax
jne 0x6212ac
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051d504
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
call fcn.00404d74
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x564]
call fcn.00486254
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx + 0x564]
mov eax, dword [eax + 0x220]
mov edx, dword [ebx + 0x848]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, 0x6219e8
call fcn.00404ef8
jne 0x6212ac
mov eax, dword [ebp - 0x14]
push eax
push 0x22
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051ad08
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
mov edx, dword [0x6a42c8]
mov edx, dword [edx]
mov edx, dword [edx + 0xabc]
call fcn.004053a4
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b5e4
cmp eax, 5
jne 0x62135a
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov edi, dword [ebx + 0x3c4]
mov eax, edi
call fcn.0051d250
mov edx, eax
mov eax, edi
call fcn.0051cbd0
cdq
push edx
push eax
mov cl, 0xf0
mov dl, 0xca
mov al, 0xa6
call fcn.00408440
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x621301
cmp eax, dword [esp]
pop edx
pop eax
jne 0x62135a
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051d504
mov eax, dword [ebp - 0x5c]
mov edx, 0x6219f4
call fcn.004054dc
jne 0x62135a
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
mov edx, dword [0x6a42c8]
mov edx, dword [edx]
mov edx, dword [edx + 0xb28]
call fcn.004053a4
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b5e4
cmp eax, 5
je 0x6218b8
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov edi, dword [ebx + 0x3c4]
mov eax, edi
call fcn.0051d250
mov edx, eax
mov eax, edi
call fcn.0051cbd0
cdq
push edx
push eax
mov cl, 0xf0
mov dl, 0xca
mov al, 0xa6
call fcn.00408440
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x6213af
cmp eax, dword [esp]
pop edx
pop eax
jne 0x6218b8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051d504
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
call fcn.00404d74
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x564]
call fcn.00486254
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx + 0x564]
mov eax, dword [eax + 0x220]
mov edx, dword [ebx + 0x848]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [0x6a42c8]
mov eax, dword [eax]
mov edx, dword [eax + 0xaf0]
mov eax, 0x621a08
call fcn.004050f0
test eax, eax
jle 0x62149b
mov edx, dword [ebp - 0x1c]
mov eax, 0x621a18
call fcn.004050f0
test eax, eax
jle 0x62149b
mov eax, dword [0x6a42c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x494]
call fcn.0045ed78
call fcn.0045c594
mov edx, dword [eax + 8]
lea eax, [ebp - 0x24]
call fcn.00404b84
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x621a38
call fcn.004050f0
add eax, 2
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404dac
mov ecx, eax
mov eax, dword [ebp - 0x24]
pop edx
call fcn.0040500c
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x24]
call fcn.004053a4
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
cmp dword [ebp - 0x1c], 0
je 0x6218b8
mov edx, dword [ebp - 0x1c]
mov eax, 0x621a44
call fcn.004050f0
test eax, eax
jne 0x6215af
mov eax, dword [ebp - 0x1c]
mov edx, 0x621a54
call fcn.00404ef8
jne 0x6214e6
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
mov al, byte [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, ebx
call fcn.00622274
jmp 0x6218b8
cmp byte [ebp + 0xc], 0
jne 0x6218b8
mov eax, dword [ebx + 0x650]
call fcn.004c2d20
mov eax, dword [ebx + 0x650]
call fcn.004db058
push eax
push 0x621a68
push dword [ebp - 0x1c]
push 0x621abc
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.00404e6c
mov edx, dword [ebp - 0x70]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x650]
call fcn.004c2d14
mov eax, dword [ebx + 0x650]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x6218b8
mov edx, 0x621ac8
mov eax, dword [ebx + 0x650]
call fcn.004c3d24
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x414]
call fcn.00486254
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x7c]
mov eax, dword [ebx + 0x414]
mov eax, dword [eax + 0x220]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
call fcn.004053a4
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
jmp 0x6218b8
cmp byte [ebp + 0x10], 0
je 0x6218b8
mov eax, dword [ebp - 0x1c]
mov edx, 0x621a44
call fcn.00404ef8
jne 0x6217c3
mov eax, dword [0x6a42c8]
mov eax, dword [eax]
cmp byte [eax + 0xb3a], 0
jne 0x621659
mov eax, dword [ebx + 0x86c]
sub eax, 2
je 0x6215f2
dec eax
je 0x62160b
dec eax
je 0x62162f
jmp 0x621795
lea eax, [ebp - 0x20]
mov ecx, dword [ebx + 0x864]
mov edx, dword [ebx + 0x860]
call fcn.00404df8
jmp 0x621795
push dword [ebx + 0x85c]
push dword [ebx + 0x860]
push dword [ebx + 0x864]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404e6c
jmp 0x621795
push dword [ebx + 0x858]
push dword [ebx + 0x85c]
push dword [ebx + 0x860]
push dword [ebx + 0x864]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404e6c
jmp 0x621795
mov eax, dword [ebx + 0x8bc]
call fcn.00404dac
mov edi, eax
mov eax, dword [ebx + 0x86c]
cmp edi, eax
jg 0x621678
test edi, edi
jne 0x62172c
call fcn.0040c488
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x30]
mov eax, 0x621adc
call fcn.0040d18c
test edi, edi
jne 0x6216aa
lea eax, [ebp - 0x20]
mov ecx, 0x621af0
mov edx, dword [ebp - 0x30]
call fcn.00404df8
jmp 0x621795
lea ecx, [ebp - 0x28]
mov edx, edi
sub edx, dword [ebx + 0x86c]
mov eax, dword [ebx + 0x8bc]
call fcn.0044514c
lea ecx, [ebp - 0x2c]
mov edx, dword [ebx + 0x86c]
mov eax, dword [ebx + 0x8bc]
call fcn.004451bc
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
call fcn.00404ef8
jne 0x62171a
mov eax, dword [ebp - 0x2c]
call fcn.00409fbc
inc eax
mov dword [ebp - 0x84], eax
fild dword [ebp - 0x84]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x80]
mov eax, 0x621afc
call fcn.0040bcf4
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.00404df8
jmp 0x621795
lea eax, [ebp - 0x20]
mov ecx, 0x621af0
mov edx, dword [ebp - 0x30]
call fcn.00404df8
jmp 0x621795
sub eax, 2
je 0x621739
dec eax
je 0x62174f
dec eax
je 0x621770
jmp 0x621795
lea eax, [ebp - 0x20]
mov ecx, dword [ebx + 0x864]
mov edx, dword [ebx + 0x860]
call fcn.00404df8
jmp 0x621795
push dword [ebx + 0x85c]
push dword [ebx + 0x860]
push dword [ebx + 0x864]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404e6c
jmp 0x621795
push dword [ebx + 0x858]
push dword [ebx + 0x85c]
push dword [ebx + 0x860]
push dword [ebx + 0x864]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404e6c
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x20]
call fcn.004053a4
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
jmp 0x6218b8
mov eax, dword [ebp - 0x1c]
mov edx, 0x621b08
call fcn.00404ef8
jne 0x621803
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x8c]
mov edx, dword [ebx + 0x858]
call fcn.004053a4
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
jmp 0x6218b8
mov eax, dword [ebp - 0x1c]
mov edx, 0x621b1c
call fcn.00404ef8
jne 0x621840
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x90]
mov edx, dword [ebx + 0x85c]
call fcn.004053a4
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
jmp 0x6218b8
mov eax, dword [ebp - 0x1c]
mov edx, 0x621b30
call fcn.00404ef8
jne 0x62187d
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x94]
mov edx, dword [ebx + 0x860]
call fcn.004053a4
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
jmp 0x6218b8
mov eax, dword [ebp - 0x1c]
mov edx, 0x621b44
call fcn.00404ef8
jne 0x6218b8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x98]
mov edx, dword [ebx + 0x864]
call fcn.004053a4
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebx + 0x3c4]
call fcn.0051b74c
inc esi
dec dword [ebp - 0x3c]
jne 0x6210ca
inc dword [ebp - 0x10]
dec dword [ebp - 0x38]
jne 0x6210ac
inc dword [ebp - 0x14]
dec dword [ebp - 0x34]
jne 0x62107e
mov eax, dword [ebx + 0x650]
call fcn.004c2d20
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x3c4]
call fcn.0051bf3c
mov eax, dword [0x6a42c8]
mov eax, dword [eax]
cmp byte [eax + 0xb18], 0
je 0x621910
mov dl, 1
mov eax, dword [ebx + 0x380]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6219b0
lea eax, [ebp - 0x98]
mov edx, 5
call fcn.00405210
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00404b10
lea eax, [ebp - 0x78]
call fcn.004051f8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404b10
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00405210
lea eax, [ebp - 0x64]
call fcn.00404aec
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.00405210
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00404b10
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00405210
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00404b10
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b10
ret