Function at 0x560040
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x560048
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x560c2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x580858
xor edx, edx
call fcn.00407bc8
mov eax, 0x58085c
xor edx, edx
call fcn.00407bc8
mov eax, 0x580860
xor edx, edx
call fcn.00407bc8
mov eax, 0x580864
xor edx, edx
call fcn.00407bc8
mov eax, 0x580868
xor edx, edx
call fcn.00407bc8
mov eax, 0x58086c
xor edx, edx
call fcn.00407bc8
mov eax, 0x580870
xor edx, edx
call fcn.00407bc8
mov eax, 0x580874
xor edx, edx
call fcn.00407bc8
mov eax, 0x580878
xor edx, edx
call fcn.00407bc8
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407c1c
xor eax, eax
mov dword [0x580834], eax
xor eax, eax
mov dword [0x580838], eax
mov ebx, 0x14
mov edi, 0x58088c
mov eax, edi
xor edx, edx
call fcn.00407bc8
add edi, 4
dec ebx
jne 0x5600f0
mov ebx, 0x32
mov edi, 0x5808dc
mov eax, edi
xor edx, edx
call fcn.00407bc8
add edi, 4
dec ebx
jne 0x560109
mov eax, 0x580880
xor edx, edx
call fcn.00407bc8
mov eax, 0x580884
xor edx, edx
call fcn.00407bc8
mov eax, 0x580888
xor edx, edx
call fcn.00407bc8
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x560c48
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x560d00
mov eax, dword [esi + 0x388]
call fcn.004e3990
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
jle 0x560216
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x560d18
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov eax, dword [esi + 0x388]
mov edx, dword [eax]
call dword [edx + 0x17c]
test eax, eax
jle 0x560216
mov eax, 0x580858
mov edx, 0x560d48
call fcn.00407bc8
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x560d5c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x560d70
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x560d00
mov eax, dword [esi + 0x388]
call fcn.004e3990
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
jle 0x5602f0
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x560e2c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov eax, dword [esi + 0x388]
mov edx, dword [eax]
call dword [edx + 0x17c]
test eax, eax
jle 0x5602f0
mov eax, 0x58085c
mov edx, 0x560d48
call fcn.00407bc8
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x560e60
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x560e78
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x560d00
mov eax, dword [esi + 0x388]
call fcn.004e3990
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
jle 0x5603ca
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x560f40
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov eax, dword [esi + 0x388]
mov edx, dword [eax]
call dword [edx + 0x17c]
test eax, eax
jle 0x5603ca
mov eax, 0x580860
mov edx, 0x560d48
call fcn.00407bc8
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x560f80
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x560f94
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x560d00
mov eax, dword [esi + 0x388]
call fcn.004e3990
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
jle 0x5604a4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x561050
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov eax, dword [esi + 0x388]
mov edx, dword [eax]
call dword [edx + 0x17c]
test eax, eax
jle 0x5604a4
mov eax, 0x580864
mov edx, 0x560d48
call fcn.00407bc8
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x561084
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x56109c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x560d00
mov eax, dword [esi + 0x388]
call fcn.004e3990
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
jle 0x56057e
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x56116c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov eax, dword [esi + 0x388]
mov edx, dword [eax]
call dword [edx + 0x17c]
test eax, eax
jle 0x56057e
mov eax, 0x580868
mov edx, 0x560d48
call fcn.00407bc8
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x5611b4
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x5611cc
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x560d00
mov eax, dword [esi + 0x388]
call fcn.004e3990
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
jle 0x560658
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x561288
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov eax, dword [esi + 0x388]
mov edx, dword [eax]
call dword [edx + 0x17c]
test eax, eax
jle 0x560658
mov eax, 0x58086c
mov edx, 0x560d48
call fcn.00407bc8
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x5612bc
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x5612d4
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x560d00
mov eax, dword [esi + 0x388]
call fcn.004e3990
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
jle 0x5608d4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x561394
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x561440
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x560719
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x56074e
mov eax, 0x580870
mov edx, 0x560d48
call fcn.00407bc8
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x561440
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov edx, 0x561454
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x560778
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5607c4
mov edx, 0x561454
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0x56146c
call fcn.0040809c
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
push 0
push 0
mov edx, 0x56148c
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x18]
call fcn.00418610
fcomp dword [0x5614a4]
wait
fnstsw ax
sahf
jbe 0x56084c
mov edx, 0x56148c
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, dword [ebp - 0x1c]
mov eax, 0x580880
call fcn.00407bc8
lea eax, [ebp - 0x20]
mov ecx, dword [0x580880]
mov edx, 0x5614b4
call fcn.0040809c
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
push 0
push 0
mov edx, 0x5614dc
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x24]
call fcn.00418704
fcomp dword [0x5614a4]
wait
fnstsw ax
sahf
jbe 0x5608d4
mov edx, 0x5614dc
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, dword [ebp - 0x28]
mov eax, 0x580884
call fcn.00407bc8
lea eax, [ebp - 0x2c]
mov ecx, dword [0x580884]
mov edx, 0x561500
call fcn.0040809c
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x561528
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x560d00
mov eax, dword [esi + 0x388]
call fcn.004e3990
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
jle 0x5609f8
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x5615ec
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x561688
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x560995
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5609f8
mov edx, 0x5616b8
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5609c3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5609f8
mov eax, 0x580874
mov edx, 0x560d48
call fcn.00407bc8
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x5616ec
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x561700
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov edx, 0x560d00
mov eax, dword [esi + 0x388]
call fcn.004e3990
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
jle 0x560b49
xor eax, eax
mov dword [0x580834], eax
mov eax, dword [esi + 0x388]
call fcn.004e2718
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esi + 0x388]
mov eax, dword [eax + 0x268]
mov edx, 0x5617c8
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x388]
call fcn.004e270c
mov eax, dword [esi + 0x388]
mov edx, dword [eax]
call dword [edx + 0x17c]
test eax, eax
jle 0x560b49
jmp 0x560b36
inc dword [0x580834]
mov edx, 0x561810
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, dword [ebp - 0x38]
mov eax, dword [0x580834]
lea eax, [eax*4 + 0x580888]
call fcn.00407bc8
mov edx, 0x561810
mov eax, dword [esi + 0x388]
call fcn.004e3990
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x561828
call fcn.0040809c
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x388]
call fcn.004e51bc
mov eax, dword [esi + 0x388]
cmp byte [eax + 0xa5], 0
je 0x560ab1
mov eax, dword [ebp - 4]
test eax, eax
je 0x560b66
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x560b66
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406c5c
test eax, eax
je 0x560b6f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x560b8d
inc dword [0x580834]
mov eax, dword [0x580834]
lea eax, [eax*4 + 0x580888]
mov edx, dword [ebp - 4]
call fcn.00407bc8
mov eax, 0x561848
call fcn.004139f0
test al, al
je 0x560bda
mov eax, 0x561898
call fcn.004139f0
test al, al
je 0x560bda
mov eax, 0x580878
mov edx, 0x560d48
call fcn.00407bc8
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x5618e0
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, dword [esi + 0x3f4]
mov eax, dword [eax + 0x2a0]
mov edx, 0x5618fc
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x57a848]
mov eax, dword [eax]
call fcn.004ae4d4
mov eax, esi
call fcn.005631f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560c32
lea eax, [ebp - 0x40]
mov edx, 0xd
call fcn.00407bc0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407bc0
ret