Function at 0x455d75
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x4e2afc
call fcn.004baf44
sub esp, 0x998
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esp
test edi, edi
mov dword [ebp - 0x14], esi
jne 0x455da8
push 0x1dbe
push 0x511f50
push 0x513e90
jmp 0x455e26
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x455de7
mov eax, dword [edi]
mov esi, dword [edi + 8]
push 0x1dc4
push 0x511f50
push 3
mov ecx, edi
call dword [eax + 0xc]
push eax
push esi
push 0x513e48
call fcn.00401466
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18
mov eax, dword [edi]
push 3
mov ecx, edi
call dword [eax + 0xc]
sub eax, 0x899
je 0x4562c3
dec eax
je 0x456117
dec eax
je 0x4560ad
dec eax
je 0x455ea8
dec eax
je 0x455e30
mov eax, dword [edi]
mov esi, dword [edi + 8]
push 3
mov ecx, edi
call dword [eax + 0xc]
push eax
push esi
push 0x512148
call fcn.00401466
add esp, 0xc
jmp 0x455dd4
push 0x513e40
push dword [ebp + 0xc]
call fcn.004bcee0
pop ecx
test eax, eax
pop ecx
jne 0x455e6a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push dword [esi + 0x8c]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.0042edec
mov ecx, eax
call fcn.0043eb0b
jmp 0x455dd6
push 0x513e38
push dword [ebp + 0xc]
call fcn.004bcee0
pop ecx
test eax, eax
pop ecx
jne 0x455dd4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push dword [esi + 0x8c]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.0042edec
mov ecx, eax
call fcn.0043eab8
jmp 0x455dd6
mov al, byte [0x5265c8]
mov ecx, 0xff
mov byte [ebp - 0x9a4], al
xor eax, eax
lea edi, [ebp - 0x9a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push 0x513df4
lea eax, [ebp - 0x9a4]
push 0x400
push eax
call fcn.004bb643
push dword [esi + 0x8c]
and byte [ebp - 0x5a5], 0
call fcn.00404bcb
add esp, 0x14
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
lea ecx, [ebp - 0x9a4]
push 1
push ecx
mov ecx, eax
call dword [edx + 4]
mov esi, eax
test esi, esi
je 0x45607f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
test eax, eax
jbe 0x45607f
mov eax, dword [esi]
push 0x513dec
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x14]
push 0x10
add ecx, 0x64
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
push 0x513de0
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi]
mov edi, 0x513dd8
push edi
mov ecx, esi
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x84], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov ecx, dword [ebp - 0x14]
dec eax
cmp dword [ebp + 0xc], 2
mov dword [ecx + 0x88], eax
jne 0x455fcc
mov edx, dword [ebx]
mov eax, dword [esi]
push 1
push edi
mov ecx, esi
mov dword [ebp + 0xc], edx
call dword [eax + 0x1c]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, ebx
call dword [eax + 0xac]
test al, al
je 0x45604a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov dword [ebp - 4], 7
jmp 0x45629a
cmp dword [ebp + 0xc], 1
jne 0x45604a
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x1c]
mov edi, dword [ebx + 8]
mov dword [ebp + 0xc], eax
cdq
lea ecx, [ebx + 8]
push 0
push 1
push edx
push eax
push 0x1d
call dword [edi + 0x104]
test al, al
je 0x45604a
push dword [ebp + 0xc]
call fcn.004bb03d
pop ecx
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push 0
push 0xb
mov ecx, ebx
call fcn.0042ca90
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov dword [ebp - 4], 9
jmp 0x45629a
mov al, 1
jmp 0x455dd6
mov dword [ebp - 4], 0xb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x455dd4
test esi, esi
mov dword [ebp - 4], 5
je 0x455dd4
jmp 0x456051
mov al, byte [0x5265c8]
mov ecx, 0xff
mov byte [ebp - 0x524], al
xor eax, eax
lea edi, [ebp - 0x523]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push 0x513da4
lea eax, [ebp - 0x524]
push 0x400
push eax
call fcn.004bb643
push dword [esi + 0x8c]
and byte [ebp - 0x125], 0
call fcn.00404bcb
add esp, 0x14
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
lea ecx, [ebp - 0x524]
push ecx
mov ecx, eax
call dword [edx + 0xc]
jmp 0x456043
lea eax, [ebp + 0x10]
and dword [ebp - 0x18], 0
and dword [ebp + 0x10], 0
push eax
lea eax, [ebp - 0x18]
push eax
push 0x50c684
push dword [ebp + 0xc]
call fcn.004bc6a1
add esp, 0x10
cmp eax, 2
je 0x456146
push 0x1e09
jmp 0x4562f2
mov al, byte [0x5265c8]
mov ecx, 0xff
mov byte [ebp - 0x524], al
xor eax, eax
lea edi, [ebp - 0x523]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push 0x513d60
lea eax, [ebp - 0x524]
push 0x400
push eax
call fcn.004bb643
push dword [esi + 0x8c]
and byte [ebp - 0x125], 0
call fcn.00404bcb
add esp, 0x14
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
lea ecx, [ebp - 0x524]
push 0
push ecx
mov ecx, eax
call dword [edx + 4]
mov esi, eax
test esi, esi
je 0x455dd4
push dword [ebp + 0x10]
mov eax, dword [esi]
mov edi, 0x513dd8
mov ecx, esi
push edi
call dword [eax + 0x48]
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push 0x513dec
call dword [eax + 0x48]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x8c]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.0040c644
mov ebx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
push 0x513e38
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [ebp + 0xc]
push eax
call dword [ebx + 0x48]
mov ebx, eax
test ebx, ebx
je 0x456257
and dword [ebp - 4], 0
lea eax, [ebp + 0xb]
push eax
push 0x50dc28
lea ecx, [ebp - 0x24]
call fcn.00403ed8
lea eax, [ebx + 8]
mov byte [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov ebx, dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
push eax
push dword [ebp + 0xc]
call dword [ebx + 0x14c]
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00403d38
or dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi]
push 0x10
push 0x513de0
lea ecx, [ebx + 0x64]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi]
push 0x10
lea ecx, [ebx + 0x74]
push 0x513d54
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x44]
mov dword [ebx + 0x84], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov dword [ebp - 4], 3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x456043
lea eax, [ebp - 0x5a4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x124]
push eax
push 0x513708
push dword [ebp + 0xc]
call fcn.004bc6a1
add esp, 0x14
cmp eax, 3
jge 0x456311
push 0x1dd2
mov eax, dword [edi]
push 0x511f50
mov ecx, edi
call dword [eax + 8]
push eax
push 0x5120dc
call fcn.00401466
add esp, 0x10
jmp 0x455dd4
lea eax, [ebp - 0x5a4]
push eax
call fcn.004bc2a0
mov dword [ebp + 0xc], eax
mov al, byte [0x5265c8]
mov byte [ebp - 0x524], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x523]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x124]
mov dword [esp], 0x513d44
push eax
call fcn.004bcee0
pop ecx
test eax, eax
pop ecx
jne 0x4563af
lea eax, [ebp - 0xa4]
push 0x50f948
push eax
call fcn.004bbe50
pop ecx
test eax, eax
pop ecx
jne 0x456382
push dword [ebp + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push 0x513d0c
jmp 0x45641a
lea eax, [ebp - 0xa4]
push 0x512570
push eax
call fcn.004bbe50
pop ecx
test eax, eax
pop ecx
jne 0x456435
push dword [ebp + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push 0x513cd4
jmp 0x45641a
lea eax, [ebp - 0x124]
push 0x513cc4
push eax
call fcn.004bcee0
pop ecx
test eax, eax
pop ecx
jne 0x455dd4
lea eax, [ebp - 0xa4]
push 0x50f948
push eax
call fcn.004bbe50
pop ecx
test eax, eax
pop ecx
jne 0x4563f3
push dword [ebp + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push 0x513c8c
jmp 0x45641a
lea eax, [ebp - 0xa4]
push 0x512570
push eax
call fcn.004bbe50
pop ecx
test eax, eax
pop ecx
jne 0x456435
push dword [ebp + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push eax
push 0x513c54
lea eax, [ebp - 0x524]
push 0x400
push eax
call fcn.004bb643
add esp, 0x14
and byte [ebp - 0x125], 0
push dword [esi + 0x8c]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
lea ecx, [ebp - 0x524]
push ecx
mov ecx, eax
call dword [edx + 0x18]
xor ecx, ecx
test eax, eax
setg cl
mov al, cl
jmp 0x455dd6