Function at 0x549b34
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x549b3c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x54a5ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x334]
call fcn.00488108
mov eax, dword [ebp - 0x28]
mov ecx, 3
mov edx, 5
call fcn.00405048
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004094e8
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x334]
call fcn.00488108
mov eax, dword [ebp - 0x34]
mov ecx, 3
mov edx, 1
call fcn.00405048
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.004094e8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
pop ecx
call fcn.00404e3c
lea eax, [ebp - 8]
mov edx, 0x54a5c8
call fcn.00404bd0
mov eax, dword [ebx + 0x300]
mov edx, dword [eax]
call dword [edx + 0xc4]
cmp al, 1
jne 0x549bf1
lea eax, [ebp - 8]
mov edx, 0x54a5fc
call fcn.00404df8
mov eax, dword [ebx + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0xc4]
cmp al, 1
jne 0x549c10
lea eax, [ebp - 8]
mov edx, 0x54a614
call fcn.00404df8
mov eax, dword [ebx + 0x304]
mov edx, dword [eax]
call dword [edx + 0xc4]
cmp al, 1
jne 0x549c2f
lea eax, [ebp - 8]
mov edx, 0x54a62c
call fcn.00404df8
mov eax, dword [ebp - 0x10]
call fcn.00404df0
cmp eax, 6
jne 0x549c69
push dword [ebp - 8]
push 0x54a644
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x334]
call fcn.00488108
push dword [ebp - 0x38]
push 0x54a65c
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404eb0
jmp 0x549cbe
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x324]
call fcn.00448cdc
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004094e8
cmp dword [ebp - 0x3c], 0
je 0x549cbe
push dword [ebp - 8]
push 0x54a668
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x324]
call fcn.00448cdc
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.004094e8
push dword [ebp - 0x44]
push 0x54a690
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404eb0
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x314]
call fcn.00448cdc
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.004094e8
cmp dword [ebp - 0x4c], 0
je 0x549d13
push dword [ebp - 8]
push 0x54a69c
lea edx, [ebp - 0x58]
mov eax, dword [ebx + 0x314]
call fcn.00448cdc
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004094e8
push dword [ebp - 0x54]
push 0x54a6e8
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404eb0
lea eax, [ebp - 8]
mov edx, 0x54a6f8
call fcn.00404df8
push 0x54a704
push dword [ebp - 8]
push 0x54a8ac
push 0x54a8bc
push 0x54a908
push 0x54a934
push dword [ebp - 8]
push 0x54a950
push 0x54a95c
push 0x54a97c
push 0x54a99c
push 0x54a9d4
push 0x54a934
push dword [ebp - 8]
push 0x54a950
push 0x54a9ec
push 0x54aa08
push 0x54aa28
push 0x54aa64
push 0x54a934
push dword [ebp - 8]
push 0x54aa8c
push 0x54a95c
push 0x54aab0
push 0x54aaec
push 0x54ab10
push 0x54ab34
push 0x54ab58
push 0x54ab7c
push 0x54ab9c
lea eax, [ebp - 4]
mov edx, 0x1e
call fcn.00404eb0
mov eax, dword [ebx + 0x33c]
cmp byte [eax + 0x170], 0
je 0x549dd9
lea eax, [ebp - 4]
mov edx, 0x54abfc
call fcn.00404df8
jmp 0x549de6
lea eax, [ebp - 4]
mov edx, 0x54ac14
call fcn.00404df8
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov esi, dword [eax + 0x5c]
mov eax, esi
call fcn.00483d8c
mov eax, esi
call fcn.004d882c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.00483d80
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x549e63
mov edx, 2
mov eax, dword [ebx + 0x308]
call fcn.004bf88c
mov eax, dword [ebx + 0x308]
mov al, byte [eax + 0x21c]
dec eax
test al, al
jle 0x549e7b
mov byte [ebp - 0x17], al
mov byte [ebp - 0x11], 1
push 0
movsx edx, byte [ebp - 0x11]
mov ecx, 1
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
inc byte [ebp - 0x11]
dec byte [ebp - 0x17]
jne 0x549e43
jmp 0x549e7b
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14c]
mov edx, eax
inc edx
mov eax, dword [ebx + 0x308]
call fcn.004bf88c
lea eax, [ebp - 0xc]
call fcn.00404b38
mov di, 1
jmp 0x54a49f
mov edx, 0x54ac30
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xc]
call fcn.00404f34
je 0x549fbe
mov edx, 0x54ac30
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x60]
push eax
movsx ecx, di
mov edx, 1
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ac40
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x64]
push eax
movsx ecx, di
mov edx, 2
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ac54
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x68]
push eax
movsx ecx, di
mov edx, 3
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
cmp dword [ebp - 0xc], 0
je 0x549fb4
mov ax, word [ebp - 0x16]
mov edx, edi
dec edx
sub dx, ax
jl 0x549fb4
inc edx
mov word [ebp - 0x1a], dx
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
movsx ecx, word [ebp - 0x14]
mov edx, 4
mov eax, dword [ebx + 0x308]
call fcn.004c1a18
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
movsx ecx, word [ebp - 0x14]
mov edx, 0x12
mov eax, dword [ebx + 0x308]
call fcn.004c1a18
mov eax, dword [ebp - 0x74]
movsx ecx, byte [ebp - 0x12]
pop edx
call fcn.00661314
mov eax, dword [ebp - 0x6c]
push eax
movsx ecx, word [ebp - 0x14]
mov edx, 4
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
inc word [ebp - 0x14]
dec word [ebp - 0x1a]
jne 0x549f4d
mov word [ebp - 0x16], di
mov byte [ebp - 0x12], 0
jmp 0x549ffd
push 0
movsx ecx, di
mov edx, 1
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
push 0
movsx ecx, di
mov edx, 2
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
push 0
movsx ecx, di
mov edx, 3
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ac70
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x7c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.004094e8
mov eax, dword [ebp - 0x78]
call fcn.00404df0
movsx edx, byte [ebp - 0x12]
cmp eax, edx
jle 0x54a05c
mov edx, 0x54ac70
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x84]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.004094e8
mov eax, dword [ebp - 0x80]
call fcn.00404df0
mov byte [ebp - 0x12], al
mov edx, 0x54ac80
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x88]
push eax
movsx ecx, di
mov edx, 4
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ac90
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x90], eax
fild dword [ebp - 0x90]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x8c]
mov eax, 0x54aca4
call fcn.0040b048
mov eax, dword [ebp - 0x8c]
push eax
movsx ecx, di
mov edx, 5
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54acb4
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x94]
mov eax, 0x54acc8
call fcn.0040b048
mov eax, dword [ebp - 0x94]
push eax
movsx ecx, di
mov edx, 6
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54acd8
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x98]
push eax
movsx ecx, di
mov edx, 7
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ace8
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x90], eax
fild dword [ebp - 0x90]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x9c]
mov eax, 0x54aca4
call fcn.0040b048
mov eax, dword [ebp - 0x9c]
push eax
movsx ecx, di
mov edx, 8
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54acf8
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x90], eax
fild dword [ebp - 0x90]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xa0]
mov eax, 0x54aca4
call fcn.0040b048
mov eax, dword [ebp - 0xa0]
push eax
movsx ecx, di
mov edx, 9
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ad0c
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xa4]
mov eax, 0x54acc8
call fcn.0040b048
mov eax, dword [ebp - 0xa4]
push eax
movsx ecx, di
mov edx, 0xa
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ad20
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x90], eax
fild dword [ebp - 0x90]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xa8]
mov eax, 0x54aca4
call fcn.0040b048
mov eax, dword [ebp - 0xa8]
push eax
movsx ecx, di
mov edx, 0xb
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ad34
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xac]
mov eax, 0x54acc8
call fcn.0040b048
mov eax, dword [ebp - 0xac]
push eax
movsx ecx, di
mov edx, 0xc
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ad48
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x90], eax
fild dword [ebp - 0x90]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xb0]
mov eax, 0x54aca4
call fcn.0040b048
mov eax, dword [ebp - 0xb0]
push eax
movsx ecx, di
mov edx, 0xd
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ad58
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xb4]
mov eax, 0x54acc8
call fcn.0040b048
mov eax, dword [ebp - 0xb4]
push eax
movsx ecx, di
mov edx, 0xe
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ac30
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xb8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xc]
call fcn.00404f34
je 0x54a3f7
lea eax, [ebp - 0xbc]
push eax
mov edx, 0x54ad68
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc0]
mov ecx, 5
mov edx, 6
call fcn.00405048
mov eax, dword [ebp - 0xbc]
push eax
movsx ecx, di
mov edx, 0xf
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ad74
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc4]
push eax
movsx ecx, di
mov edx, 0x10
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
jmp 0x54a421
push 0
movsx ecx, di
mov edx, 0xf
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
push 0
movsx ecx, di
mov edx, 0x10
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ac30
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xc8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc8]
push eax
movsx ecx, di
mov edx, 0x11
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, 0x54ac70
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xcc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xcc]
push eax
movsx ecx, di
mov edx, 0x12
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
inc edi
mov edx, 0x54ac30
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, esi
call fcn.0048643c
cmp byte [esi + 0xa1], 0
je 0x549e8c
mov eax, dword [0x669a3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x46c]
mov edx, 0x54ad84
call fcn.00404f34
jne 0x54a507
mov eax, dword [ebx + 0x308]
mov eax, dword [eax + 0x22c]
mov dword [ebx + 0x394], eax
push 0x54ad90
mov ecx, eax
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.004c1a98
mov edx, dword [ebx + 0x394]
mov eax, dword [ebx + 0x308]
call fcn.004c4224
mov dl, byte [0x54ad94]
call fcn.00425894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a5b6
lea eax, [ebp - 0xcc]
mov edx, 0xf
call fcn.00404b5c
lea eax, [ebp - 0x8c]
mov edx, 0xd
call fcn.00404b5c
lea eax, [ebp - 0x58]
call fcn.00404b38
lea eax, [ebp - 0x54]
call fcn.00404b38
lea eax, [ebp - 0x50]
call fcn.00404b38
lea eax, [ebp - 0x4c]
call fcn.00404b38
lea eax, [ebp - 0x48]
call fcn.00404b38
lea eax, [ebp - 0x44]
call fcn.00404b38
lea eax, [ebp - 0x40]
call fcn.00404b38
lea eax, [ebp - 0x3c]
call fcn.00404b38
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404b5c
lea eax, [ebp - 0x2c]
call fcn.00404b38
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x20]
call fcn.00404b38
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404b5c
ret