Function at 0x539d1c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1d
push 0
push 0
dec ecx
jne 0x539d24
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [0x560a18]
xor eax, eax
push ebp
push 0x53a8a7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x53a8c0
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x328]
call fcn.00485264
push dword [ebp - 0x24]
push 0x53a9b8
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x334]
call fcn.00485264
push dword [ebp - 0x28]
push 0x53a9d0
push 0x53a9dc
lea eax, [ebp - 8]
mov edx, 6
call fcn.00404958
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x308]
call fcn.004461c8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408d54
cmp dword [ebp - 0x2c], 0
je 0x539de0
push dword [ebp - 8]
push 0x53a9fc
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x308]
call fcn.004461c8
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00408d54
push dword [ebp - 0x34]
push 0x53a9d0
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404958
mov eax, dword [ebx + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x539ea5
push dword [ebp - 8]
push 0x53aa18
push 0x53aa2c
push 0x53aa94
push 0x53aaf4
push 0x53ab24
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x328]
call fcn.00485264
push dword [ebp - 0x3c]
push 0x53a9b8
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x334]
call fcn.00485264
push dword [ebp - 0x40]
push 0x53a9d0
push 0x53a9dc
lea eax, [ebp - 8]
mov edx, 0xb
call fcn.00404958
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x308]
call fcn.004461c8
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00408d54
cmp dword [ebp - 0x44], 0
je 0x539ea5
push dword [ebp - 8]
push 0x53a9fc
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x308]
call fcn.004461c8
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00408d54
push dword [ebp - 0x4c]
push 0x53a9d0
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404958
lea eax, [ebp - 8]
mov edx, 0x53ab3c
call fcn.004048a0
mov edx, 2
mov eax, dword [ebx + 0x2fc]
call fcn.004ba530
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x21c]
dec eax
test eax, eax
jle 0x539ef5
mov dword [ebp - 0x20], eax
mov esi, 1
push 0
mov ecx, 1
mov edx, esi
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
inc esi
dec dword [ebp - 0x20]
jne 0x539edb
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov eax, esi
call fcn.00480ef0
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.00480ee4
jmp 0x53a6a7
mov edx, 0x53ab6c
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 1
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov edx, 0x53ab7c
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 2
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov edx, 0x53ab88
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 3
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
push 0
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 4
call fcn.004bc73c
mov edx, 0x53ab6c
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x60]
call fcn.00404898
cmp eax, 0xd
jne 0x53a1fd
mov edx, 0x53ab9c
mov eax, esi
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x64]
push eax
mov edx, 0x53ab7c
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x68]
mov ecx, 2
mov edx, 1
call fcn.00404af0
mov eax, dword [ebp - 0x64]
mov edx, 0x53abac
call fcn.004049dc
jne 0x53a063
push 0x53abb8
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 4
call fcn.004bc73c
jmp 0x53a0cc
lea eax, [ebp - 0x70]
push eax
mov edx, 0x53ab7c
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x74]
mov ecx, 2
mov edx, 1
call fcn.00404af0
mov eax, dword [ebp - 0x70]
call fcn.0055c0c8
inc eax
lea edx, [ebp - 0x6c]
call fcn.004090a4
lea eax, [ebp - 0x6c]
mov edx, 0x53abd0
call fcn.004048a0
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 4
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
lea eax, [ebp - 8]
mov edx, 0x53abe4
call fcn.00404678
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
call fcn.00480ef0
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x248]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x53ab6c
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53ac64
call fcn.004b22f8
pop edx
call fcn.004802fc
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
call fcn.00480ee4
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53ac78
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x84]
test al, al
je 0x53a166
push 0
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 8
call fcn.004bc73c
jmp 0x53a474
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53ac88
call fcn.00481ef8
lea edx, [ebp - 0x80]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x80]
push 0x53ac98
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53ac78
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0x8c]
xor ecx, ecx
mov eax, 0x53aca4
call fcn.00409d2c
push dword [ebp - 0x84]
push 0x53acb0
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.00404958
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 8
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
jmp 0x53a474
lea eax, [ebp - 8]
mov edx, 0x53acbc
call fcn.00404678
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
call fcn.00480ef0
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x248]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x53ab6c
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53ab6c
call fcn.004b22f8
pop edx
call fcn.004802fc
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
call fcn.00480ee4
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x53a3df
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53ac78
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x84]
test al, al
je 0x53a2b1
push 0
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 8
call fcn.004bc73c
jmp 0x53a34f
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53ac88
call fcn.00481ef8
lea edx, [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x98]
push 0x53ac98
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53ac78
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0x8c]
xor ecx, ecx
mov eax, 0x53aca4
call fcn.00409d2c
push dword [ebp - 0x9c]
push 0x53acb0
lea eax, [ebp - 0x94]
mov edx, 4
call fcn.00404958
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 8
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53adc0
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x58]
dec eax
jne 0x53a3a4
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53adcc
call fcn.00481ef8
lea edx, [ebp - 0xa0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 4
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
inc dword [ebp - 0x10]
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53ab9c
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x58]
add dword [ebp - 0x14], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, 0x53addc
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x58]
add dword [ebp - 0x18], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
call fcn.00483598
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0xa1], 0
je 0x53a278
cmp dword [ebp - 0x10], 1
jle 0x53a474
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 4
mov eax, dword [ebx + 0x2fc]
call fcn.004bc6bc
push dword [ebp - 0xa8]
push 0x53ade8
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x10]
dec eax
call fcn.004090a4
push dword [ebp - 0xac]
push 0x53adf4
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.00404958
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 4
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
fild dword [ebp - 0x14]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xb0]
mov eax, 0x53ae00
call fcn.0040a820
mov eax, dword [ebp - 0xb0]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 5
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov edx, 0x53ae10
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xb4]
mov edx, 0x53ae24
call fcn.004049dc
jne 0x53a529
mov edx, 0x53addc
mov eax, esi
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xb8]
mov eax, 0x53ae00
call fcn.0040a820
mov eax, dword [ebp - 0xb8]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 6
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
jmp 0x53a567
fild dword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xbc]
mov eax, 0x53ae00
call fcn.0040a820
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 6
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov edx, 0x53ae30
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc0]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 7
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov edx, 0x53ae40
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc4]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 9
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov edx, 0x53ae50
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0xc8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 0xa
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov edx, 0x53ae10
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0xcc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xcc]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 0xb
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov edx, 0x53ac64
mov eax, esi
call fcn.00481ef8
lea edx, [ebp - 0xd0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xd0]
push eax
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 0xc
mov eax, dword [ebx + 0x2fc]
call fcn.004bc73c
mov eax, dword [ebx + 0x2fc]
mov edx, dword [eax + 0x24c]
inc edx
call fcn.004ba530
mov eax, esi
call fcn.00483598
cmp byte [esi + 0xa1], 0
je 0x539f1b
mov eax, dword [ebx + 0x2fc]
cmp dword [eax + 0x24c], 2
jle 0x53a6db
mov eax, dword [ebx + 0x2fc]
mov edx, dword [eax + 0x24c]
dec edx
mov eax, dword [ebx + 0x2fc]
call fcn.004ba530
xor edi, edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x24c]
dec eax
test eax, eax
jle 0x53a74e
mov dword [ebp - 0x20], eax
mov esi, 1
lea eax, [ebp - 0xd4]
push eax
mov ecx, esi
mov edx, 5
mov eax, dword [ebx + 0x2fc]
call fcn.004bc6bc
mov eax, dword [ebp - 0xd4]
call fcn.0055c0c8
add edi, eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, esi
mov edx, 6
mov eax, dword [ebx + 0x2fc]
call fcn.004bc6bc
mov eax, dword [ebp - 0xd8]
call fcn.0055c0c8
add dword [ebp - 0x1c], eax
inc esi
dec dword [ebp - 0x20]
jne 0x53a6fb
push 0x53ae60
mov dword [ebp - 0xe4], edi
fild dword [ebp - 0xe4]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xe0]
mov eax, 0x53ae74
call fcn.0040a820
push dword [ebp - 0xe0]
push 0x53ae84
push 0x53ae94
fild dword [ebp - 0x1c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xe8]
mov eax, 0x53ae74
call fcn.0040a820
push dword [ebp - 0xe8]
push 0x53ae84
push 0x53aea4
add edi, dword [ebp - 0x1c]
mov dword [ebp - 0xe4], edi
fild dword [ebp - 0xe4]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xec]
mov eax, 0x53ae74
call fcn.0040a820
push dword [ebp - 0xec]
push 0x53aeb8
lea eax, [ebp - 0xdc]
mov edx, 9
call fcn.00404958
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebx + 0x368]
call fcn.004461f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a8b1
lea eax, [ebp - 0xec]
mov edx, 2
call fcn.00404604
lea eax, [ebp - 0xe0]
mov edx, 0x15
call fcn.00404604
lea eax, [ebp - 0x84]
mov edx, 0xd
call fcn.00404604
lea eax, [ebp - 0x50]
call fcn.004045e0
lea eax, [ebp - 0x4c]
call fcn.004045e0
lea eax, [ebp - 0x48]
call fcn.004045e0
lea eax, [ebp - 0x44]
call fcn.004045e0
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00404604
lea eax, [ebp - 0x38]
call fcn.004045e0
lea eax, [ebp - 0x34]
call fcn.004045e0
lea eax, [ebp - 0x30]
call fcn.004045e0
lea eax, [ebp - 0x2c]
call fcn.004045e0
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404604
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404604
ret