Function at 0x4a8764
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4a876c
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4a9157
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov byte [ebp - 0xa], 1
mov byte [ebp - 0xb], 1
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x14]
call fcn.00404204
cmp dword [ebp - 8], 0
jne 0x4a87d8
lea eax, [ebp - 0x14]
mov edx, 0x4a916c
call fcn.0040429c
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x9c]
call fcn.0040429c
mov byte [ebp - 9], 1
push dword [ebp - 0x14]
push 0x4a9178
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004088f0
push dword [ebp - 0x24]
push 0x4a9194
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00484ba0
lea edx, [ebp - 0x28]
call fcn.00408a00
push dword [ebp - 0x28]
push 0x4a91a8
lea eax, [ebp - 0x14]
mov edx, 6
call fcn.00404584
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14]
call fcn.00404204
mov eax, dword [ebp - 4]
call fcn.004b0730
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4a9100
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4a91b4
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.004894cc
lea eax, [ebp - 0x14]
push eax
mov edx, 0x4a9230
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x34]
call fcn.004882cc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a9250
call fcn.00409858
cmp byte [ebp - 9], 0
je 0x4a88a9
lea eax, [ebp - 0x14]
mov edx, 0x4a9274
call fcn.004044cc
jmp 0x4a88b6
lea eax, [ebp - 0x14]
mov edx, 0x4a9280
call fcn.004044cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.00489464
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4a928c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.004894cc
jmp 0x4a8c31
cmp byte [ebp - 0xa], 0
je 0x4a8903
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x4a92dc
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 0xa], 0
mov edx, 0x4a930c
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486dec
test al, al
je 0x4a891d
xor ebx, ebx
jmp 0x4a8931
mov edx, 0x4a930c
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov ebx, eax
mov edx, 0x4a9324
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486dec
test al, al
je 0x4a894b
xor esi, esi
jmp 0x4a895f
mov edx, 0x4a9324
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov esi, eax
mov edx, 0x4a933c
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486dec
test al, al
je 0x4a897c
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x4a8991
mov edx, 0x4a933c
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov dword [ebp - 0x1c], eax
mov edx, 0x4a9358
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486dec
test al, al
je 0x4a89ae
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4a89c3
mov edx, 0x4a9358
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov dword [ebp - 0x20], eax
test ebx, ebx
jne 0x4a8a71
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4a91a8
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov edx, 0x4a9370
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x48]
call fcn.004882cc
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4a9388
call fcn.00409858
cmp dword [ebp - 0x20], 0
je 0x4a8a3a
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a93b0
call fcn.00409858
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
call fcn.004044cc
test esi, esi
je 0x4a8a63
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a93c8
call fcn.00409858
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x14]
call fcn.004044cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test bl, 8
je 0x4a8acc
lea eax, [ebp - 0x54]
push eax
mov eax, 0x4a91a8
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov edx, 0x4a9370
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x70]
call fcn.004882cc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4a93dc
call fcn.00409858
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14]
call fcn.00404204
test bl, 1
je 0x4a8c29
cmp dword [ebp - 0x1c], 0
je 0x4a8b25
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x44], 9
mov byte [ebp - 0x40], 2
mov edx, 0x4a9370
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x74]
call fcn.004882cc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4a9410
call fcn.00409858
jmp 0x4a8bc4
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4a91a8
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov edx, 0x4a9424
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
mov edx, 0x4a9370
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x78]
call fcn.004882cc
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4a9440
call fcn.00409858
test bl, 2
je 0x4a8b91
lea eax, [ebp - 0x14]
mov edx, 0x4a9464
call fcn.004044cc
test bl, 4
je 0x4a8ba5
lea eax, [ebp - 0x14]
mov edx, 0x4a9478
call fcn.004044cc
jmp 0x4a8bb2
lea eax, [ebp - 0x14]
mov edx, 0x4a9488
call fcn.004044cc
test bl, 0x10
je 0x4a8bc4
lea eax, [ebp - 0x14]
mov edx, 0x4a9498
call fcn.004044cc
test esi, esi
je 0x4a8bed
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a94b0
call fcn.00409858
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x14]
call fcn.004044cc
cmp dword [ebp - 0x20], 0
je 0x4a8c1b
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a94c4
call fcn.00409858
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.004044cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.00489894
mov eax, dword [ebp - 0x18]
call fcn.00489720
test al, al
je 0x4a88e9
mov eax, dword [ebp - 0x18]
call fcn.00489464
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4a94dc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.004894cc
jmp 0x4a8ebc
mov edx, 0x4a930c
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486dec
test al, al
je 0x4a8c80
xor ebx, ebx
jmp 0x4a8c94
mov edx, 0x4a930c
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov ebx, eax
mov edx, 0x4a9324
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486dec
test al, al
je 0x4a8cae
xor esi, esi
jmp 0x4a8cc2
mov edx, 0x4a9324
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov esi, eax
lea eax, [ebp - 0x14]
call fcn.00404204
mov byte [ebp - 0xc], 1
cmp byte [ebp - 0xa], 0
je 0x4a8d05
cmp byte [ebp - 9], 0
je 0x4a8ce7
lea eax, [ebp - 0x14]
mov edx, 0x4a916c
call fcn.0040429c
push dword [ebp - 0x14]
push 0x4a91a8
push 0x4a952c
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404584
mov byte [ebp - 0xa], 0
cmp byte [ebp - 0xb], 0
je 0x4a8d18
lea eax, [ebp - 0x14]
mov edx, 0x4a9548
call fcn.004044cc
test bl, 2
jne 0x4a8e77
test bl, 8
je 0x4a8d83
lea eax, [ebp - 0x84]
push eax
mov eax, 0x4a91a8
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov edx, 0x4a9370
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x88]
call fcn.004882cc
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4a955c
call fcn.00409858
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x14]
call fcn.004044cc
jmp 0x4a8e77
test bl, 1
je 0x4a8de5
lea eax, [ebp - 0x8c]
push eax
mov eax, 0x4a91a8
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov edx, 0x4a9370
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x90]
call fcn.004882cc
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4a9578
call fcn.00409858
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x14]
call fcn.004044cc
jmp 0x4a8e77
cmp byte [ebp - 0xb], 0
je 0x4a8dfa
lea eax, [ebp - 0x14]
mov edx, 0x4a9594
call fcn.004044cc
jmp 0x4a8e2a
lea eax, [ebp - 0x94]
push eax
mov eax, 0x4a91a8
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a95a0
call fcn.00409858
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x14]
call fcn.004044cc
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x98]
push eax
mov edx, 0x4a9370
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x9c]
call fcn.004882cc
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a95b0
call fcn.00409858
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x14]
call fcn.004044cc
test esi, esi
je 0x4a8ea6
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a95c0
call fcn.00409858
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x14]
call fcn.004044cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.00489894
mov eax, dword [ebp - 0x18]
call fcn.00489720
test al, al
je 0x4a8c66
mov eax, dword [ebp - 0x18]
call fcn.00489464
lea eax, [ebp - 0x14]
call fcn.00404204
cmp byte [ebp - 0xc], 0
je 0x4a904c
lea ecx, [ebp - 0xa4]
lea edx, [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.004adb9c
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x14]
call fcn.004044cc
lea eax, [ebp - 0xa8]
push eax
push ebp
mov eax, 0x26
call fcn.004a86d4
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a95d4
call fcn.00409858
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0x14]
call fcn.004044cc
lea ecx, [ebp - 0xac]
lea edx, [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.004adb9c
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0x14]
call fcn.004044cc
lea eax, [ebp - 0xb0]
push eax
push ebp
mov eax, 0x27
call fcn.004a86d4
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a95f4
call fcn.00409858
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0x14]
call fcn.004044cc
lea ecx, [ebp - 0xb4]
lea edx, [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.004adb9c
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0x14]
call fcn.004044cc
lea eax, [ebp - 0xb8]
push eax
push ebp
mov eax, 0x2f
call fcn.004a86d4
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a9614
call fcn.00409858
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0x14]
call fcn.004044cc
lea ecx, [ebp - 0xbc]
lea edx, [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.004adb9c
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x14]
call fcn.004044cc
lea eax, [ebp - 0xc0]
push eax
push ebp
mov eax, 0x28
call fcn.004a86d4
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4a9638
call fcn.00409858
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x14]
call fcn.004044cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [ebp - 0xa], 0
jne 0x4a90ea
cmp byte [ebp - 9], 0
je 0x4a90a0
lea eax, [ebp - 0xc4]
push eax
mov eax, 0x4a91a8
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, 0x4a91a8
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4a9658
call fcn.00409858
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a90ea
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 0x6c], 0x3b
mov byte [ebp - 0x68], 2
mov eax, 0x4a91a8
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4a91a8
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4a9668
call fcn.00409858
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9107
mov eax, dword [ebp - 0x18]
call fcn.004033d4
ret