Function at 0x4ae230
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4ae239
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046b4
mov eax, dword [ebp - 8]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4aea5b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4aea06
mov byte [ebp - 0x35], 1
mov dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0xc]
call fcn.00404204
lea eax, [ebp - 0x18]
call fcn.00404204
lea eax, [ebp - 0x1c]
call fcn.00404204
lea eax, [ebp - 0x14]
call fcn.00404204
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x36], 0
lea eax, [ebp - 0x10]
call fcn.00404204
mov eax, ebx
call fcn.004b0730
mov dword [ebp - 0x3c], eax
xor eax, eax
push ebp
push 0x4ae9ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x58]
mov edx, 0x4aea70
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x3c]
call fcn.00489c18
mov edx, 0x4aebf4
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
mov eax, dword [ebp - 0x3c]
call fcn.004894cc
jmp 0x4ae626
mov edx, 0x4aec08
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486dec
test al, al
je 0x4ae31a
xor esi, esi
jmp 0x4ae32e
mov edx, 0x4aec08
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486590
mov esi, eax
mov edx, 0x4aec24
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486dec
test al, al
je 0x4ae34e
lea eax, [ebp - 0x24]
call fcn.00404204
jmp 0x4ae363
mov edx, 0x4aec24
mov eax, dword [ebp - 0x3c]
call fcn.00489734
lea edx, [ebp - 0x24]
call fcn.004882cc
mov edx, 0x4aec3c
mov eax, dword [ebp - 0x3c]
call fcn.00489734
lea edx, [ebp - 0x40]
call fcn.004882cc
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x28]
call fcn.00408838
cmp dword [ebp - 0xc], 0
je 0x4ae396
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
call fcn.00404610
jne 0x4ae3d9
cmp byte [ebp - 0x35], 0
jne 0x4ae3b3
mov edx, 0x4aec24
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486dec
cmp al, byte [ebp - 0x36]
jne 0x4ae3d9
cmp byte [ebp - 0x36], 0
jne 0x4ae3c6
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
call fcn.00404610
jne 0x4ae3d9
cmp dword [ebp - 0x30], 0xffffffff
je 0x4ae475
cmp esi, dword [ebp - 0x30]
je 0x4ae475
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.004ae1d8
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebx + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 4]
call fcn.00490cd0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x74]
mov ecx, 5
mov eax, 0x4aec50
call fcn.00409858
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x18]
call fcn.00404204
lea eax, [ebp - 0x14]
call fcn.00404204
lea eax, [ebp - 0x1c]
call fcn.00404204
xor eax, eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x28]
call fcn.0040429c
mov dword [ebp - 0x30], esi
mov edx, 0x4aec24
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486dec
mov byte [ebp - 0x36], al
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x24]
call fcn.0040429c
mov edx, 0x4aec74
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486590
sub eax, 3
jb 0x4ae4c4
sub eax, 2
je 0x4ae4c4
sub eax, 8
jne 0x4ae4d9
mov eax, dword [ebx + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.00490cd0
jmp 0x4ae4e4
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.0040429c
mov edx, 0x4aec74
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486590
dec eax
je 0x4ae503
dec eax
je 0x4ae515
sub eax, 3
je 0x4ae527
jmp 0x4ae537
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4aec8c
call fcn.00404510
jmp 0x4ae537
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4aec9c
call fcn.00404510
jmp 0x4ae537
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4aecb0
call fcn.00404510
mov edx, 0x4aecc4
mov eax, dword [ebp - 0x3c]
call fcn.00489734
lea edx, [ebp - 0x7c]
call fcn.004882cc
mov eax, dword [ebp - 0x7c]
mov al, byte [eax]
mov byte [ebp - 0x29], al
xor eax, eax
mov al, byte [ebp - 0x29]
add eax, 0xffffffbc
cmp eax, 0x14
ja case.0x4ae567.68
mov al, byte [eax + 0x4ae56e]
jmp dword [eax*4 + 0x4ae583]
or dword [ebp - 0x34], 2
jmp case.0x4ae567.74
or dword [ebp - 0x34], 4
jmp case.0x4ae567.74
or dword [ebp - 0x34], 8
jmp case.0x4ae567.74
or dword [ebp - 0x34], 0x10
jmp case.0x4ae567.74
or dword [ebp - 0x34], 0x40
jmp case.0x4ae567.74
or dword [ebp - 0x34], 1
cmp dword [ebp - 0x24], 0
jne 0x4ae5d1
lea eax, [ebp - 0x1c]
call fcn.00404204
jmp 0x4ae60d
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x24]
call fcn.00490cd0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0x84]
xor ecx, ecx
mov eax, 0x4aecdc
call fcn.00409858
test esi, esi
je 0x4ae61e
lea eax, [ebp - 0x14]
mov edx, 0x4aecec
call fcn.0040429c
mov eax, dword [ebp - 0x3c]
call fcn.00489894
mov eax, dword [ebp - 0x3c]
call fcn.00489720
test al, al
je 0x4ae300
cmp dword [ebp - 0x30], 0xffffffff
je 0x4ae6cb
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.004ae1d8
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebx + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 4]
call fcn.00490cd0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x74]
mov ecx, 5
mov eax, 0x4aec50
call fcn.00409858
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.00489464
cmp byte [ebp - 0x35], 0
je 0x4ae8a1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x58]
mov edx, 0x4aed08
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x3c]
call fcn.00489c18
mov edx, 0x4aebf4
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
mov eax, dword [ebp - 0x3c]
call fcn.004894cc
jmp 0x4ae889
mov byte [ebp - 0x35], 0
mov edx, 0x4aec3c
mov eax, dword [ebp - 0x3c]
call fcn.00489734
lea edx, [ebp - 0x94]
call fcn.004882cc
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x28]
call fcn.00408838
mov edx, 0x4aec74
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486590
sub eax, 3
jb 0x4ae75f
sub eax, 2
je 0x4ae75f
sub eax, 8
jne 0x4ae774
mov eax, dword [ebx + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.00490cd0
jmp 0x4ae77f
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.0040429c
mov edx, 0x4aec74
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486590
dec eax
je 0x4ae79e
dec eax
je 0x4ae7b0
sub eax, 3
je 0x4ae7c2
jmp 0x4ae7d2
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4aec8c
call fcn.00404510
jmp 0x4ae7d2
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4aec9c
call fcn.00404510
jmp 0x4ae7d2
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4aecb0
call fcn.00404510
mov edx, 0x4aec08
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486590
dec eax
jne 0x4ae7f6
lea eax, [ebp - 0x14]
mov edx, 0x4aecec
call fcn.0040429c
jmp 0x4ae7fe
lea eax, [ebp - 0x14]
call fcn.00404204
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebx + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0xbc]
mov edx, dword [ebp - 4]
call fcn.00490cd0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0xb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0xb
lea edx, [ebp - 0xb8]
mov ecx, 3
mov eax, 0x4aeec0
call fcn.00409858
mov edx, dword [ebp - 0x98]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.00489894
mov eax, dword [ebp - 0x3c]
call fcn.00489720
test al, al
je 0x4ae714
mov eax, dword [ebp - 0x3c]
call fcn.00489464
cmp byte [ebp - 0x35], 0
je 0x4ae9e1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x58]
mov edx, 0x4aeef0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x3c]
call fcn.00489c18
mov edx, 0x4aebf4
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
mov eax, dword [ebp - 0x3c]
call fcn.004894cc
jmp 0x4ae9d1
mov edx, 0x4aec08
mov eax, dword [ebp - 0x3c]
call fcn.00489734
call fcn.00486590
dec eax
jne 0x4ae906
lea eax, [ebp - 0x14]
mov edx, 0x4aefa4
call fcn.0040429c
jmp 0x4ae90e
lea eax, [ebp - 0x14]
call fcn.00404204
lea eax, [ebp - 0xc0]
push eax
mov edx, 0x4aefc0
mov eax, dword [ebp - 0x3c]
call fcn.00489734
lea edx, [ebp - 0xc8]
call fcn.004882cc
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebx + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0xc4]
pop edx
call fcn.00490cd0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0xb
mov edx, 0x4aefdc
mov eax, dword [ebp - 0x3c]
call fcn.00489734
lea edx, [ebp - 0xcc]
call fcn.004882cc
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0xb
lea edx, [ebp - 0xb8]
mov ecx, 3
mov eax, 0x4aeff4
call fcn.00409858
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.00489894
mov eax, dword [ebp - 0x3c]
call fcn.00489720
test al, al
je 0x4ae8e2
mov eax, dword [ebp - 0x3c]
call fcn.00489464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aea06
mov eax, dword [ebp - 0x3c]
call fcn.004033d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aea62
lea eax, [ebp - 0xcc]
mov edx, 5
call fcn.00404228
lea eax, [ebp - 0x98]
mov edx, 5
call fcn.00404228
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00404228
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404228
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404228
ret